AWS SDK for C++  1.9.158
AWS SDK for C++
RoutingProfileSummary.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 Connect
22 {
23 namespace Model
24 {
25 
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 RoutingProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline RoutingProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline RoutingProfileSummary& 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 RoutingProfileSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
111 
115  inline RoutingProfileSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
116 
120  inline RoutingProfileSummary& 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 RoutingProfileSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
152 
156  inline RoutingProfileSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 
161  inline RoutingProfileSummary& WithName(const char* value) { SetName(value); return *this;}
162 
163  private:
164 
165  Aws::String m_id;
166  bool m_idHasBeenSet;
167 
168  Aws::String m_arn;
169  bool m_arnHasBeenSet;
170 
171  Aws::String m_name;
172  bool m_nameHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace Connect
177 } // namespace Aws
Aws::Connect::Model::RoutingProfileSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: RoutingProfileSummary.h:49
Aws::Connect::Model::RoutingProfileSummary::SetName
void SetName(const Aws::String &value)
Definition: RoutingProfileSummary.h:136
Aws::Connect::Model::RoutingProfileSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: RoutingProfileSummary.h:131
Aws::Connect::Model::RoutingProfileSummary::GetId
const Aws::String & GetId() const
Definition: RoutingProfileSummary.h:44
Aws::Connect::Model::RoutingProfileSummary
Definition: RoutingProfileSummary.h:33
Aws::Connect::Model::RoutingProfileSummary::GetArn
const Aws::String & GetArn() const
Definition: RoutingProfileSummary.h:85
Aws::Connect::Model::RoutingProfileSummary::SetArn
void SetArn(const char *value)
Definition: RoutingProfileSummary.h:105
Aws::Connect::Model::RoutingProfileSummary::WithName
RoutingProfileSummary & WithName(Aws::String &&value)
Definition: RoutingProfileSummary.h:156
Aws::Connect::Model::RoutingProfileSummary::RoutingProfileSummary
RoutingProfileSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::RoutingProfileSummary::WithId
RoutingProfileSummary & WithId(Aws::String &&value)
Definition: RoutingProfileSummary.h:74
Aws::Connect::Model::RoutingProfileSummary::SetName
void SetName(Aws::String &&value)
Definition: RoutingProfileSummary.h:141
Aws::Connect::Model::RoutingProfileSummary::SetArn
void SetArn(const Aws::String &value)
Definition: RoutingProfileSummary.h:95
Aws::Connect::Model::RoutingProfileSummary::WithName
RoutingProfileSummary & WithName(const char *value)
Definition: RoutingProfileSummary.h:161
Aws::Connect::Model::RoutingProfileSummary::WithName
RoutingProfileSummary & WithName(const Aws::String &value)
Definition: RoutingProfileSummary.h:151
Aws::Connect::Model::RoutingProfileSummary::SetArn
void SetArn(Aws::String &&value)
Definition: RoutingProfileSummary.h:100
Aws::Connect::Model::RoutingProfileSummary::SetName
void SetName(const char *value)
Definition: RoutingProfileSummary.h:146
Aws::Connect::Model::RoutingProfileSummary::WithId
RoutingProfileSummary & WithId(const char *value)
Definition: RoutingProfileSummary.h:79
Aws::Connect::Model::RoutingProfileSummary::WithArn
RoutingProfileSummary & WithArn(const Aws::String &value)
Definition: RoutingProfileSummary.h:110
Aws::Connect::Model::RoutingProfileSummary::SetId
void SetId(Aws::String &&value)
Definition: RoutingProfileSummary.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::RoutingProfileSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: RoutingProfileSummary.h:90
Aws::Connect::Model::RoutingProfileSummary::SetId
void SetId(const Aws::String &value)
Definition: RoutingProfileSummary.h:54
Aws::Connect::Model::RoutingProfileSummary::SetId
void SetId(const char *value)
Definition: RoutingProfileSummary.h:64
Aws::Connect::Model::RoutingProfileSummary::GetName
const Aws::String & GetName() const
Definition: RoutingProfileSummary.h:126
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::RoutingProfileSummary::RoutingProfileSummary
RoutingProfileSummary()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::RoutingProfileSummary::WithArn
RoutingProfileSummary & WithArn(Aws::String &&value)
Definition: RoutingProfileSummary.h:115
Aws::Connect::Model::RoutingProfileSummary::WithId
RoutingProfileSummary & WithId(const Aws::String &value)
Definition: RoutingProfileSummary.h:69
Aws::Connect::Model::RoutingProfileSummary::WithArn
RoutingProfileSummary & WithArn(const char *value)
Definition: RoutingProfileSummary.h:120
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::RoutingProfileSummary::operator=
RoutingProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::RoutingProfileSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const