AWS SDK for C++  1.9.108
AWS SDK for C++
AwsApiGatewayAccessLogSettings.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline const Aws::String& GetFormat() const{ return m_format; }
47 
53  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
54 
60  inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
61 
67  inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
68 
74  inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
75 
81  inline AwsApiGatewayAccessLogSettings& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
82 
88  inline AwsApiGatewayAccessLogSettings& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
89 
95  inline AwsApiGatewayAccessLogSettings& WithFormat(const char* value) { SetFormat(value); return *this;}
96 
97 
101  inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
102 
106  inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
107 
111  inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
112 
116  inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
117 
121  inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
122 
126  inline AwsApiGatewayAccessLogSettings& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
127 
131  inline AwsApiGatewayAccessLogSettings& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
132 
136  inline AwsApiGatewayAccessLogSettings& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
137 
138  private:
139 
140  Aws::String m_format;
141  bool m_formatHasBeenSet;
142 
143  Aws::String m_destinationArn;
144  bool m_destinationArnHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace SecurityHub
149 } // namespace Aws
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings
Definition: AwsApiGatewayAccessLogSettings.h:33
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: AwsApiGatewayAccessLogSettings.h:53
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::SetDestinationArn
void SetDestinationArn(const Aws::String &value)
Definition: AwsApiGatewayAccessLogSettings.h:111
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::AwsApiGatewayAccessLogSettings
AwsApiGatewayAccessLogSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::WithFormat
AwsApiGatewayAccessLogSettings & WithFormat(const char *value)
Definition: AwsApiGatewayAccessLogSettings.h:95
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::WithFormat
AwsApiGatewayAccessLogSettings & WithFormat(const Aws::String &value)
Definition: AwsApiGatewayAccessLogSettings.h:81
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::SetFormat
void SetFormat(Aws::String &&value)
Definition: AwsApiGatewayAccessLogSettings.h:67
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::SetDestinationArn
void SetDestinationArn(Aws::String &&value)
Definition: AwsApiGatewayAccessLogSettings.h:116
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::AwsApiGatewayAccessLogSettings
AwsApiGatewayAccessLogSettings()
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::WithFormat
AwsApiGatewayAccessLogSettings & WithFormat(Aws::String &&value)
Definition: AwsApiGatewayAccessLogSettings.h:88
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::SetFormat
void SetFormat(const Aws::String &value)
Definition: AwsApiGatewayAccessLogSettings.h:60
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::operator=
AwsApiGatewayAccessLogSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::WithDestinationArn
AwsApiGatewayAccessLogSettings & WithDestinationArn(Aws::String &&value)
Definition: AwsApiGatewayAccessLogSettings.h:131
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::GetDestinationArn
const Aws::String & GetDestinationArn() const
Definition: AwsApiGatewayAccessLogSettings.h:101
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::GetFormat
const Aws::String & GetFormat() const
Definition: AwsApiGatewayAccessLogSettings.h:46
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::WithDestinationArn
AwsApiGatewayAccessLogSettings & WithDestinationArn(const Aws::String &value)
Definition: AwsApiGatewayAccessLogSettings.h:126
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::DestinationArnHasBeenSet
bool DestinationArnHasBeenSet() const
Definition: AwsApiGatewayAccessLogSettings.h:106
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::SetFormat
void SetFormat(const char *value)
Definition: AwsApiGatewayAccessLogSettings.h:74
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::WithDestinationArn
AwsApiGatewayAccessLogSettings & WithDestinationArn(const char *value)
Definition: AwsApiGatewayAccessLogSettings.h:136
Aws::SecurityHub::Model::AwsApiGatewayAccessLogSettings::SetDestinationArn
void SetDestinationArn(const char *value)
Definition: AwsApiGatewayAccessLogSettings.h:121