80 lines
2.0 KiB
C++
80 lines
2.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/appmesh/AppMesh_EXPORTS.h>
|
|
#include <aws/appmesh/model/FileAccessLog.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace AppMesh
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>An object that represents the access logging information for a virtual
|
|
* node.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/AccessLog">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_APPMESH_API AccessLog
|
|
{
|
|
public:
|
|
AccessLog();
|
|
AccessLog(Aws::Utils::Json::JsonView jsonValue);
|
|
AccessLog& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The file object to send virtual node access logs to.</p>
|
|
*/
|
|
inline const FileAccessLog& GetFile() const{ return m_file; }
|
|
|
|
/**
|
|
* <p>The file object to send virtual node access logs to.</p>
|
|
*/
|
|
inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The file object to send virtual node access logs to.</p>
|
|
*/
|
|
inline void SetFile(const FileAccessLog& value) { m_fileHasBeenSet = true; m_file = value; }
|
|
|
|
/**
|
|
* <p>The file object to send virtual node access logs to.</p>
|
|
*/
|
|
inline void SetFile(FileAccessLog&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
|
|
|
|
/**
|
|
* <p>The file object to send virtual node access logs to.</p>
|
|
*/
|
|
inline AccessLog& WithFile(const FileAccessLog& value) { SetFile(value); return *this;}
|
|
|
|
/**
|
|
* <p>The file object to send virtual node access logs to.</p>
|
|
*/
|
|
inline AccessLog& WithFile(FileAccessLog&& value) { SetFile(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
FileAccessLog m_file;
|
|
bool m_fileHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace AppMesh
|
|
} // namespace Aws
|