AWS SDK for C++  1.9.109
AWS SDK for C++
ConfigListItem.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace GroundStation
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetConfigArn() const{ return m_configArn; }
46 
50  inline bool ConfigArnHasBeenSet() const { return m_configArnHasBeenSet; }
51 
55  inline void SetConfigArn(const Aws::String& value) { m_configArnHasBeenSet = true; m_configArn = value; }
56 
60  inline void SetConfigArn(Aws::String&& value) { m_configArnHasBeenSet = true; m_configArn = std::move(value); }
61 
65  inline void SetConfigArn(const char* value) { m_configArnHasBeenSet = true; m_configArn.assign(value); }
66 
70  inline ConfigListItem& WithConfigArn(const Aws::String& value) { SetConfigArn(value); return *this;}
71 
75  inline ConfigListItem& WithConfigArn(Aws::String&& value) { SetConfigArn(std::move(value)); return *this;}
76 
80  inline ConfigListItem& WithConfigArn(const char* value) { SetConfigArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetConfigId() const{ return m_configId; }
87 
91  inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
92 
96  inline void SetConfigId(const Aws::String& value) { m_configIdHasBeenSet = true; m_configId = value; }
97 
101  inline void SetConfigId(Aws::String&& value) { m_configIdHasBeenSet = true; m_configId = std::move(value); }
102 
106  inline void SetConfigId(const char* value) { m_configIdHasBeenSet = true; m_configId.assign(value); }
107 
111  inline ConfigListItem& WithConfigId(const Aws::String& value) { SetConfigId(value); return *this;}
112 
116  inline ConfigListItem& WithConfigId(Aws::String&& value) { SetConfigId(std::move(value)); return *this;}
117 
121  inline ConfigListItem& WithConfigId(const char* value) { SetConfigId(value); return *this;}
122 
123 
127  inline const ConfigCapabilityType& GetConfigType() const{ return m_configType; }
128 
132  inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
133 
137  inline void SetConfigType(const ConfigCapabilityType& value) { m_configTypeHasBeenSet = true; m_configType = value; }
138 
142  inline void SetConfigType(ConfigCapabilityType&& value) { m_configTypeHasBeenSet = true; m_configType = std::move(value); }
143 
147  inline ConfigListItem& WithConfigType(const ConfigCapabilityType& value) { SetConfigType(value); return *this;}
148 
152  inline ConfigListItem& WithConfigType(ConfigCapabilityType&& value) { SetConfigType(std::move(value)); return *this;}
153 
154 
158  inline const Aws::String& GetName() const{ return m_name; }
159 
163  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
164 
168  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
169 
173  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
174 
178  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
179 
183  inline ConfigListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
184 
188  inline ConfigListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
189 
193  inline ConfigListItem& WithName(const char* value) { SetName(value); return *this;}
194 
195  private:
196 
197  Aws::String m_configArn;
198  bool m_configArnHasBeenSet;
199 
200  Aws::String m_configId;
201  bool m_configIdHasBeenSet;
202 
203  ConfigCapabilityType m_configType;
204  bool m_configTypeHasBeenSet;
205 
206  Aws::String m_name;
207  bool m_nameHasBeenSet;
208  };
209 
210 } // namespace Model
211 } // namespace GroundStation
212 } // namespace Aws
Aws::GroundStation::Model::ConfigListItem::SetConfigType
void SetConfigType(const ConfigCapabilityType &value)
Definition: ConfigListItem.h:137
Aws::GroundStation::Model::ConfigListItem::GetConfigType
const ConfigCapabilityType & GetConfigType() const
Definition: ConfigListItem.h:127
Aws::GroundStation::Model::ConfigListItem::WithConfigType
ConfigListItem & WithConfigType(ConfigCapabilityType &&value)
Definition: ConfigListItem.h:152
Aws::GroundStation::Model::ConfigListItem::ConfigIdHasBeenSet
bool ConfigIdHasBeenSet() const
Definition: ConfigListItem.h:91
Aws::GroundStation::Model::ConfigListItem::SetName
void SetName(Aws::String &&value)
Definition: ConfigListItem.h:173
Aws::GroundStation::Model::ConfigListItem::WithConfigArn
ConfigListItem & WithConfigArn(const char *value)
Definition: ConfigListItem.h:80
Aws::GroundStation::Model::ConfigListItem::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ConfigListItem.h:163
Aws::GroundStation::Model::ConfigListItem::SetConfigId
void SetConfigId(const char *value)
Definition: ConfigListItem.h:106
Aws::GroundStation::Model::ConfigListItem::ConfigTypeHasBeenSet
bool ConfigTypeHasBeenSet() const
Definition: ConfigListItem.h:132
ConfigCapabilityType.h
Aws::GroundStation::Model::ConfigListItem::ConfigArnHasBeenSet
bool ConfigArnHasBeenSet() const
Definition: ConfigListItem.h:50
Aws::GroundStation::Model::ConfigListItem::ConfigListItem
ConfigListItem()
Aws::GroundStation::Model::ConfigListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GroundStation::Model::ConfigListItem::WithName
ConfigListItem & WithName(const Aws::String &value)
Definition: ConfigListItem.h:183
Aws::GroundStation::Model::ConfigListItem
Definition: ConfigListItem.h:34
Aws::GroundStation::Model::ConfigListItem::SetConfigId
void SetConfigId(Aws::String &&value)
Definition: ConfigListItem.h:101
Aws::GroundStation::Model::ConfigListItem::SetConfigArn
void SetConfigArn(Aws::String &&value)
Definition: ConfigListItem.h:60
GroundStation_EXPORTS.h
Aws::GroundStation::Model::ConfigListItem::WithConfigId
ConfigListItem & WithConfigId(Aws::String &&value)
Definition: ConfigListItem.h:116
Aws::GroundStation::Model::ConfigListItem::WithName
ConfigListItem & WithName(const char *value)
Definition: ConfigListItem.h:193
Aws::GroundStation::Model::ConfigListItem::SetName
void SetName(const char *value)
Definition: ConfigListItem.h:178
Aws::GroundStation::Model::ConfigListItem::SetConfigArn
void SetConfigArn(const Aws::String &value)
Definition: ConfigListItem.h:55
Aws::GroundStation::Model::ConfigListItem::WithConfigId
ConfigListItem & WithConfigId(const char *value)
Definition: ConfigListItem.h:121
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::GroundStation::Model::ConfigCapabilityType
ConfigCapabilityType
Definition: ConfigCapabilityType.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GroundStation::Model::ConfigListItem::WithConfigId
ConfigListItem & WithConfigId(const Aws::String &value)
Definition: ConfigListItem.h:111
Aws::GroundStation::Model::ConfigListItem::SetConfigId
void SetConfigId(const Aws::String &value)
Definition: ConfigListItem.h:96
Aws::GroundStation::Model::ConfigListItem::WithName
ConfigListItem & WithName(Aws::String &&value)
Definition: ConfigListItem.h:188
Aws::GroundStation::Model::ConfigListItem::SetConfigType
void SetConfigType(ConfigCapabilityType &&value)
Definition: ConfigListItem.h:142
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::ConfigListItem::SetConfigArn
void SetConfigArn(const char *value)
Definition: ConfigListItem.h:65
Aws::GroundStation::Model::ConfigListItem::GetName
const Aws::String & GetName() const
Definition: ConfigListItem.h:158
Aws::GroundStation::Model::ConfigListItem::SetName
void SetName(const Aws::String &value)
Definition: ConfigListItem.h:168
Aws::GroundStation::Model::ConfigListItem::GetConfigId
const Aws::String & GetConfigId() const
Definition: ConfigListItem.h:86
Aws::GroundStation::Model::ConfigListItem::ConfigListItem
ConfigListItem(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ConfigListItem::WithConfigType
ConfigListItem & WithConfigType(const ConfigCapabilityType &value)
Definition: ConfigListItem.h:147
Aws::GroundStation::Model::ConfigListItem::operator=
ConfigListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::ConfigListItem::WithConfigArn
ConfigListItem & WithConfigArn(const Aws::String &value)
Definition: ConfigListItem.h:70
Aws::GroundStation::Model::ConfigListItem::GetConfigArn
const Aws::String & GetConfigArn() const
Definition: ConfigListItem.h:45
Aws::GroundStation::Model::ConfigListItem::WithConfigArn
ConfigListItem & WithConfigArn(Aws::String &&value)
Definition: ConfigListItem.h:75