AWS SDK for C++  1.9.132
AWS SDK for C++
ConfigurationTag.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ApplicationDiscoveryService
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const ConfigurationItemType& GetConfigurationType() const{ return m_configurationType; }
47 
51  inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
52 
56  inline void SetConfigurationType(const ConfigurationItemType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
57 
61  inline void SetConfigurationType(ConfigurationItemType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
62 
66  inline ConfigurationTag& WithConfigurationType(const ConfigurationItemType& value) { SetConfigurationType(value); return *this;}
67 
71  inline ConfigurationTag& WithConfigurationType(ConfigurationItemType&& value) { SetConfigurationType(std::move(value)); return *this;}
72 
73 
78  inline const Aws::String& GetConfigurationId() const{ return m_configurationId; }
79 
84  inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; }
85 
90  inline void SetConfigurationId(const Aws::String& value) { m_configurationIdHasBeenSet = true; m_configurationId = value; }
91 
96  inline void SetConfigurationId(Aws::String&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::move(value); }
97 
102  inline void SetConfigurationId(const char* value) { m_configurationIdHasBeenSet = true; m_configurationId.assign(value); }
103 
108  inline ConfigurationTag& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;}
109 
114  inline ConfigurationTag& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
115 
120  inline ConfigurationTag& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
121 
122 
126  inline const Aws::String& GetKey() const{ return m_key; }
127 
131  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
132 
136  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
137 
141  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
142 
146  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
147 
151  inline ConfigurationTag& WithKey(const Aws::String& value) { SetKey(value); return *this;}
152 
156  inline ConfigurationTag& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
157 
161  inline ConfigurationTag& WithKey(const char* value) { SetKey(value); return *this;}
162 
163 
168  inline const Aws::String& GetValue() const{ return m_value; }
169 
174  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
175 
180  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
181 
186  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
187 
192  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
193 
198  inline ConfigurationTag& WithValue(const Aws::String& value) { SetValue(value); return *this;}
199 
204  inline ConfigurationTag& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
205 
210  inline ConfigurationTag& WithValue(const char* value) { SetValue(value); return *this;}
211 
212 
217  inline const Aws::Utils::DateTime& GetTimeOfCreation() const{ return m_timeOfCreation; }
218 
223  inline bool TimeOfCreationHasBeenSet() const { return m_timeOfCreationHasBeenSet; }
224 
229  inline void SetTimeOfCreation(const Aws::Utils::DateTime& value) { m_timeOfCreationHasBeenSet = true; m_timeOfCreation = value; }
230 
235  inline void SetTimeOfCreation(Aws::Utils::DateTime&& value) { m_timeOfCreationHasBeenSet = true; m_timeOfCreation = std::move(value); }
236 
241  inline ConfigurationTag& WithTimeOfCreation(const Aws::Utils::DateTime& value) { SetTimeOfCreation(value); return *this;}
242 
247  inline ConfigurationTag& WithTimeOfCreation(Aws::Utils::DateTime&& value) { SetTimeOfCreation(std::move(value)); return *this;}
248 
249  private:
250 
251  ConfigurationItemType m_configurationType;
252  bool m_configurationTypeHasBeenSet;
253 
254  Aws::String m_configurationId;
255  bool m_configurationIdHasBeenSet;
256 
257  Aws::String m_key;
258  bool m_keyHasBeenSet;
259 
260  Aws::String m_value;
261  bool m_valueHasBeenSet;
262 
263  Aws::Utils::DateTime m_timeOfCreation;
264  bool m_timeOfCreationHasBeenSet;
265  };
266 
267 } // namespace Model
268 } // namespace ApplicationDiscoveryService
269 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::GetConfigurationType
const ConfigurationItemType & GetConfigurationType() const
Definition: ConfigurationTag.h:46
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ApplicationDiscoveryService::Model::ConfigurationItemType
ConfigurationItemType
Definition: ConfigurationItemType.h:17
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetValue
void SetValue(Aws::String &&value)
Definition: ConfigurationTag.h:186
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithValue
ConfigurationTag & WithValue(const char *value)
Definition: ConfigurationTag.h:210
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithConfigurationId
ConfigurationTag & WithConfigurationId(Aws::String &&value)
Definition: ConfigurationTag.h:114
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetKey
void SetKey(const Aws::String &value)
Definition: ConfigurationTag.h:136
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithKey
ConfigurationTag & WithKey(Aws::String &&value)
Definition: ConfigurationTag.h:156
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetKey
void SetKey(Aws::String &&value)
Definition: ConfigurationTag.h:141
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetValue
void SetValue(const char *value)
Definition: ConfigurationTag.h:192
DateTime.h
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithKey
ConfigurationTag & WithKey(const char *value)
Definition: ConfigurationTag.h:161
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::ConfigurationTypeHasBeenSet
bool ConfigurationTypeHasBeenSet() const
Definition: ConfigurationTag.h:51
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithConfigurationId
ConfigurationTag & WithConfigurationId(const char *value)
Definition: ConfigurationTag.h:120
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithTimeOfCreation
ConfigurationTag & WithTimeOfCreation(const Aws::Utils::DateTime &value)
Definition: ConfigurationTag.h:241
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithKey
ConfigurationTag & WithKey(const Aws::String &value)
Definition: ConfigurationTag.h:151
ApplicationDiscoveryService_EXPORTS.h
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::ConfigurationTag
ConfigurationTag()
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::GetValue
const Aws::String & GetValue() const
Definition: ConfigurationTag.h:168
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithConfigurationType
ConfigurationTag & WithConfigurationType(const ConfigurationItemType &value)
Definition: ConfigurationTag.h:66
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::GetConfigurationId
const Aws::String & GetConfigurationId() const
Definition: ConfigurationTag.h:78
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::operator=
ConfigurationTag & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetTimeOfCreation
void SetTimeOfCreation(Aws::Utils::DateTime &&value)
Definition: ConfigurationTag.h:235
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: ConfigurationTag.h:131
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithTimeOfCreation
ConfigurationTag & WithTimeOfCreation(Aws::Utils::DateTime &&value)
Definition: ConfigurationTag.h:247
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::ConfigurationIdHasBeenSet
bool ConfigurationIdHasBeenSet() const
Definition: ConfigurationTag.h:84
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetConfigurationType
void SetConfigurationType(const ConfigurationItemType &value)
Definition: ConfigurationTag.h:56
ConfigurationItemType.h
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetValue
void SetValue(const Aws::String &value)
Definition: ConfigurationTag.h:180
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetConfigurationId
void SetConfigurationId(const Aws::String &value)
Definition: ConfigurationTag.h:90
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithValue
ConfigurationTag & WithValue(const Aws::String &value)
Definition: ConfigurationTag.h:198
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::TimeOfCreationHasBeenSet
bool TimeOfCreationHasBeenSet() const
Definition: ConfigurationTag.h:223
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithValue
ConfigurationTag & WithValue(Aws::String &&value)
Definition: ConfigurationTag.h:204
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::GetKey
const Aws::String & GetKey() const
Definition: ConfigurationTag.h:126
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetConfigurationId
void SetConfigurationId(Aws::String &&value)
Definition: ConfigurationTag.h:96
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithConfigurationId
ConfigurationTag & WithConfigurationId(const Aws::String &value)
Definition: ConfigurationTag.h:108
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ConfigurationTag.h:174
Aws::ApplicationDiscoveryService::Model::ConfigurationTag
Definition: ConfigurationTag.h:35
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetConfigurationId
void SetConfigurationId(const char *value)
Definition: ConfigurationTag.h:102
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::ConfigurationTag
ConfigurationTag(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::WithConfigurationType
ConfigurationTag & WithConfigurationType(ConfigurationItemType &&value)
Definition: ConfigurationTag.h:71
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetConfigurationType
void SetConfigurationType(ConfigurationItemType &&value)
Definition: ConfigurationTag.h:61
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetKey
void SetKey(const char *value)
Definition: ConfigurationTag.h:146
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::GetTimeOfCreation
const Aws::Utils::DateTime & GetTimeOfCreation() const
Definition: ConfigurationTag.h:217
Aws::ApplicationDiscoveryService::Model::ConfigurationTag::SetTimeOfCreation
void SetTimeOfCreation(const Aws::Utils::DateTime &value)
Definition: ConfigurationTag.h:229
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28