AWS SDK for C++  1.9.156
AWS SDK for C++
AgentStatusSummary.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 Connect
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline AgentStatusSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline AgentStatusSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline AgentStatusSummary& WithId(const char* value) { SetId(value); return *this;}
80 
81 
85  inline const Aws::String& GetArn() const{ return m_arn; }
86 
90  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
91 
95  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
96 
100  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
101 
105  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
106 
110  inline AgentStatusSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
111 
115  inline AgentStatusSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
116 
120  inline AgentStatusSummary& WithArn(const char* value) { SetArn(value); return *this;}
121 
122 
126  inline const Aws::String& GetName() const{ return m_name; }
127 
131  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
132 
136  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
137 
141  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
142 
146  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
147 
151  inline AgentStatusSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
152 
156  inline AgentStatusSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 
161  inline AgentStatusSummary& WithName(const char* value) { SetName(value); return *this;}
162 
163 
167  inline const AgentStatusType& GetType() const{ return m_type; }
168 
172  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
173 
177  inline void SetType(const AgentStatusType& value) { m_typeHasBeenSet = true; m_type = value; }
178 
182  inline void SetType(AgentStatusType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
183 
187  inline AgentStatusSummary& WithType(const AgentStatusType& value) { SetType(value); return *this;}
188 
192  inline AgentStatusSummary& WithType(AgentStatusType&& value) { SetType(std::move(value)); return *this;}
193 
194  private:
195 
196  Aws::String m_id;
197  bool m_idHasBeenSet;
198 
199  Aws::String m_arn;
200  bool m_arnHasBeenSet;
201 
202  Aws::String m_name;
203  bool m_nameHasBeenSet;
204 
205  AgentStatusType m_type;
206  bool m_typeHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace Connect
211 } // namespace Aws
Aws::Connect::Model::AgentStatusSummary::SetName
void SetName(Aws::String &&value)
Definition: AgentStatusSummary.h:141
Aws::Connect::Model::AgentStatusSummary::AgentStatusSummary
AgentStatusSummary()
Aws::Connect::Model::AgentStatusSummary::SetName
void SetName(const Aws::String &value)
Definition: AgentStatusSummary.h:136
Aws::Connect::Model::AgentStatusSummary::WithType
AgentStatusSummary & WithType(const AgentStatusType &value)
Definition: AgentStatusSummary.h:187
Aws::Connect::Model::AgentStatusSummary::SetId
void SetId(const char *value)
Definition: AgentStatusSummary.h:64
Aws::Connect::Model::AgentStatusSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: AgentStatusSummary.h:49
Aws::Connect::Model::AgentStatusSummary
Definition: AgentStatusSummary.h:33
Aws::Connect::Model::AgentStatusSummary::WithId
AgentStatusSummary & WithId(Aws::String &&value)
Definition: AgentStatusSummary.h:74
Aws::Connect::Model::AgentStatusSummary::WithArn
AgentStatusSummary & WithArn(const Aws::String &value)
Definition: AgentStatusSummary.h:110
Aws::Connect::Model::AgentStatusSummary::GetName
const Aws::String & GetName() const
Definition: AgentStatusSummary.h:126
Aws::Connect::Model::AgentStatusSummary::WithName
AgentStatusSummary & WithName(const char *value)
Definition: AgentStatusSummary.h:161
Aws::Connect::Model::AgentStatusSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::AgentStatusSummary::WithId
AgentStatusSummary & WithId(const Aws::String &value)
Definition: AgentStatusSummary.h:69
Aws::Connect::Model::AgentStatusSummary::GetArn
const Aws::String & GetArn() const
Definition: AgentStatusSummary.h:85
Aws::Connect::Model::AgentStatusSummary::SetId
void SetId(Aws::String &&value)
Definition: AgentStatusSummary.h:59
Aws::Connect::Model::AgentStatusSummary::SetArn
void SetArn(Aws::String &&value)
Definition: AgentStatusSummary.h:100
Aws::Connect::Model::AgentStatusSummary::WithName
AgentStatusSummary & WithName(Aws::String &&value)
Definition: AgentStatusSummary.h:156
Aws::Connect::Model::AgentStatusSummary::AgentStatusSummary
AgentStatusSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::AgentStatusSummary::SetType
void SetType(AgentStatusType &&value)
Definition: AgentStatusSummary.h:182
AgentStatusType.h
Aws::Connect::Model::AgentStatusSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AgentStatusSummary.h:131
Aws::Connect::Model::AgentStatusSummary::WithArn
AgentStatusSummary & WithArn(Aws::String &&value)
Definition: AgentStatusSummary.h:115
Aws::Connect::Model::AgentStatusSummary::operator=
AgentStatusSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Connect::Model::AgentStatusSummary::WithType
AgentStatusSummary & WithType(AgentStatusType &&value)
Definition: AgentStatusSummary.h:192
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::AgentStatusSummary::SetId
void SetId(const Aws::String &value)
Definition: AgentStatusSummary.h:54
Aws::Connect::Model::AgentStatusType
AgentStatusType
Definition: AgentStatusType.h:17
Aws::Connect::Model::AgentStatusSummary::SetArn
void SetArn(const Aws::String &value)
Definition: AgentStatusSummary.h:95
Aws::Connect::Model::AgentStatusSummary::WithName
AgentStatusSummary & WithName(const Aws::String &value)
Definition: AgentStatusSummary.h:151
Aws::Connect::Model::AgentStatusSummary::WithId
AgentStatusSummary & WithId(const char *value)
Definition: AgentStatusSummary.h:79
Aws::Connect::Model::AgentStatusSummary::SetType
void SetType(const AgentStatusType &value)
Definition: AgentStatusSummary.h:177
Aws::Connect::Model::AgentStatusSummary::SetName
void SetName(const char *value)
Definition: AgentStatusSummary.h:146
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::AgentStatusSummary::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: AgentStatusSummary.h:172
Aws::Connect::Model::AgentStatusSummary::GetType
const AgentStatusType & GetType() const
Definition: AgentStatusSummary.h:167
Aws::Connect::Model::AgentStatusSummary::GetId
const Aws::String & GetId() const
Definition: AgentStatusSummary.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::AgentStatusSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: AgentStatusSummary.h:90
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::AgentStatusSummary::SetArn
void SetArn(const char *value)
Definition: AgentStatusSummary.h:105
Connect_EXPORTS.h
Aws::Connect::Model::AgentStatusSummary::WithArn
AgentStatusSummary & WithArn(const char *value)
Definition: AgentStatusSummary.h:120