AWS SDK for C++  1.9.158
AWS SDK for C++
PromptSummary.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 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetId() const{ return m_id; }
44 
48  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 
53  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 
58  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
59 
63  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 
68  inline PromptSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
69 
73  inline PromptSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
74 
78  inline PromptSummary& WithId(const char* value) { SetId(value); return *this;}
79 
80 
84  inline const Aws::String& GetArn() const{ return m_arn; }
85 
89  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
90 
94  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
95 
99  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
100 
104  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
105 
109  inline PromptSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
110 
114  inline PromptSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
115 
119  inline PromptSummary& WithArn(const char* value) { SetArn(value); return *this;}
120 
121 
125  inline const Aws::String& GetName() const{ return m_name; }
126 
130  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
131 
135  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
136 
140  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
141 
145  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
146 
150  inline PromptSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
151 
155  inline PromptSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
156 
160  inline PromptSummary& WithName(const char* value) { SetName(value); return *this;}
161 
162  private:
163 
164  Aws::String m_id;
165  bool m_idHasBeenSet;
166 
167  Aws::String m_arn;
168  bool m_arnHasBeenSet;
169 
170  Aws::String m_name;
171  bool m_nameHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace Connect
176 } // namespace Aws
Aws::Connect::Model::PromptSummary::SetArn
void SetArn(const char *value)
Definition: PromptSummary.h:104
Aws::Connect::Model::PromptSummary::WithArn
PromptSummary & WithArn(const char *value)
Definition: PromptSummary.h:119
Aws::Connect::Model::PromptSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PromptSummary.h:130
Aws::Connect::Model::PromptSummary::WithId
PromptSummary & WithId(const char *value)
Definition: PromptSummary.h:78
Aws::Connect::Model::PromptSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::PromptSummary::WithArn
PromptSummary & WithArn(const Aws::String &value)
Definition: PromptSummary.h:109
Aws::Connect::Model::PromptSummary::SetName
void SetName(const Aws::String &value)
Definition: PromptSummary.h:135
Aws::Connect::Model::PromptSummary::GetName
const Aws::String & GetName() const
Definition: PromptSummary.h:125
Aws::Connect::Model::PromptSummary::SetArn
void SetArn(Aws::String &&value)
Definition: PromptSummary.h:99
Aws::Connect::Model::PromptSummary::PromptSummary
PromptSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::PromptSummary::SetId
void SetId(const char *value)
Definition: PromptSummary.h:63
Aws::Connect::Model::PromptSummary::WithId
PromptSummary & WithId(const Aws::String &value)
Definition: PromptSummary.h:68
Aws::Connect::Model::PromptSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: PromptSummary.h:48
Aws::Connect::Model::PromptSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: PromptSummary.h:89
Aws::Connect::Model::PromptSummary::SetName
void SetName(Aws::String &&value)
Definition: PromptSummary.h:140
Aws::Connect::Model::PromptSummary::SetId
void SetId(Aws::String &&value)
Definition: PromptSummary.h:58
Aws::Connect::Model::PromptSummary::GetArn
const Aws::String & GetArn() const
Definition: PromptSummary.h:84
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::PromptSummary::WithName
PromptSummary & WithName(const char *value)
Definition: PromptSummary.h:160
Aws::Connect::Model::PromptSummary::SetId
void SetId(const Aws::String &value)
Definition: PromptSummary.h:53
Aws::Connect::Model::PromptSummary::SetName
void SetName(const char *value)
Definition: PromptSummary.h:145
Aws::Connect::Model::PromptSummary::WithName
PromptSummary & WithName(const Aws::String &value)
Definition: PromptSummary.h:150
Aws::Connect::Model::PromptSummary::PromptSummary
PromptSummary()
Aws::Connect::Model::PromptSummary::GetId
const Aws::String & GetId() const
Definition: PromptSummary.h:43
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::PromptSummary
Definition: PromptSummary.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::PromptSummary::SetArn
void SetArn(const Aws::String &value)
Definition: PromptSummary.h:94
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::PromptSummary::operator=
PromptSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Connect_EXPORTS.h
Aws::Connect::Model::PromptSummary::WithId
PromptSummary & WithId(Aws::String &&value)
Definition: PromptSummary.h:73
Aws::Connect::Model::PromptSummary::WithName
PromptSummary & WithName(Aws::String &&value)
Definition: PromptSummary.h:155
Aws::Connect::Model::PromptSummary::WithArn
PromptSummary & WithArn(Aws::String &&value)
Definition: PromptSummary.h:114