AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Prompt.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
33 class Prompt
34 {
35 public:
36 AWS_CONNECT_API Prompt();
37 AWS_CONNECT_API Prompt(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Prompt& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPromptARN() const{ return m_promptARN; }
47 inline bool PromptARNHasBeenSet() const { return m_promptARNHasBeenSet; }
48 inline void SetPromptARN(const Aws::String& value) { m_promptARNHasBeenSet = true; m_promptARN = value; }
49 inline void SetPromptARN(Aws::String&& value) { m_promptARNHasBeenSet = true; m_promptARN = std::move(value); }
50 inline void SetPromptARN(const char* value) { m_promptARNHasBeenSet = true; m_promptARN.assign(value); }
51 inline Prompt& WithPromptARN(const Aws::String& value) { SetPromptARN(value); return *this;}
52 inline Prompt& WithPromptARN(Aws::String&& value) { SetPromptARN(std::move(value)); return *this;}
53 inline Prompt& WithPromptARN(const char* value) { SetPromptARN(value); return *this;}
55
57
60 inline const Aws::String& GetPromptId() const{ return m_promptId; }
61 inline bool PromptIdHasBeenSet() const { return m_promptIdHasBeenSet; }
62 inline void SetPromptId(const Aws::String& value) { m_promptIdHasBeenSet = true; m_promptId = value; }
63 inline void SetPromptId(Aws::String&& value) { m_promptIdHasBeenSet = true; m_promptId = std::move(value); }
64 inline void SetPromptId(const char* value) { m_promptIdHasBeenSet = true; m_promptId.assign(value); }
65 inline Prompt& WithPromptId(const Aws::String& value) { SetPromptId(value); return *this;}
66 inline Prompt& WithPromptId(Aws::String&& value) { SetPromptId(std::move(value)); return *this;}
67 inline Prompt& WithPromptId(const char* value) { SetPromptId(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline Prompt& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline Prompt& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline Prompt& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline Prompt& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline Prompt& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline Prompt& WithDescription(const char* value) { SetDescription(value); return *this;}
97
99
103 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
104 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
105 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
106 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
107 inline Prompt& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
108 inline Prompt& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
109 inline Prompt& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
110 inline Prompt& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
111 inline Prompt& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
112 inline Prompt& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
113 inline Prompt& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
114 inline Prompt& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
115 inline Prompt& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
117
119
122 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
123 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
124 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
125 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
126 inline Prompt& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
127 inline Prompt& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
129
131
134 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
135 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
136 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
137 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
138 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
139 inline Prompt& WithLastModifiedRegion(const Aws::String& value) { SetLastModifiedRegion(value); return *this;}
140 inline Prompt& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
141 inline Prompt& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
143 private:
144
145 Aws::String m_promptARN;
146 bool m_promptARNHasBeenSet = false;
147
148 Aws::String m_promptId;
149 bool m_promptIdHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
158 bool m_tagsHasBeenSet = false;
159
160 Aws::Utils::DateTime m_lastModifiedTime;
161 bool m_lastModifiedTimeHasBeenSet = false;
162
163 Aws::String m_lastModifiedRegion;
164 bool m_lastModifiedRegionHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Connect
169} // namespace Aws
AWS_CONNECT_API Prompt & operator=(Aws::Utils::Json::JsonView jsonValue)
Prompt & WithDescription(const Aws::String &value)
Definition Prompt.h:93
Prompt & WithPromptId(const Aws::String &value)
Definition Prompt.h:65
void SetLastModifiedRegion(Aws::String &&value)
Definition Prompt.h:137
bool PromptARNHasBeenSet() const
Definition Prompt.h:47
Prompt & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Prompt.h:126
void SetDescription(Aws::String &&value)
Definition Prompt.h:91
Prompt & WithPromptARN(const Aws::String &value)
Definition Prompt.h:51
AWS_CONNECT_API Prompt(Aws::Utils::Json::JsonView jsonValue)
Prompt & AddTags(const char *key, Aws::String &&value)
Definition Prompt.h:113
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Prompt.h:124
Prompt & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Prompt.h:107
AWS_CONNECT_API Prompt()
void SetName(Aws::String &&value)
Definition Prompt.h:77
Prompt & AddTags(const char *key, const char *value)
Definition Prompt.h:115
void SetPromptId(const char *value)
Definition Prompt.h:64
void SetLastModifiedRegion(const char *value)
Definition Prompt.h:138
void SetName(const Aws::String &value)
Definition Prompt.h:76
Prompt & WithDescription(const char *value)
Definition Prompt.h:95
void SetPromptId(const Aws::String &value)
Definition Prompt.h:62
void SetLastModifiedRegion(const Aws::String &value)
Definition Prompt.h:136
void SetPromptARN(Aws::String &&value)
Definition Prompt.h:49
Prompt & WithName(const Aws::String &value)
Definition Prompt.h:79
Prompt & WithPromptId(Aws::String &&value)
Definition Prompt.h:66
void SetPromptARN(const char *value)
Definition Prompt.h:50
bool NameHasBeenSet() const
Definition Prompt.h:75
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Prompt.h:125
bool DescriptionHasBeenSet() const
Definition Prompt.h:89
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PromptIdHasBeenSet() const
Definition Prompt.h:61
Prompt & WithName(Aws::String &&value)
Definition Prompt.h:80
const Aws::String & GetName() const
Definition Prompt.h:74
Prompt & AddTags(Aws::String &&key, Aws::String &&value)
Definition Prompt.h:112
const Aws::String & GetPromptARN() const
Definition Prompt.h:46
Prompt & WithLastModifiedRegion(Aws::String &&value)
Definition Prompt.h:140
Prompt & WithPromptARN(const char *value)
Definition Prompt.h:53
Prompt & WithName(const char *value)
Definition Prompt.h:81
Prompt & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Prompt.h:127
Prompt & WithLastModifiedRegion(const char *value)
Definition Prompt.h:141
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Prompt.h:106
Prompt & AddTags(Aws::String &&key, const char *value)
Definition Prompt.h:114
bool LastModifiedTimeHasBeenSet() const
Definition Prompt.h:123
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Prompt.h:105
const Aws::String & GetDescription() const
Definition Prompt.h:88
const Aws::String & GetPromptId() const
Definition Prompt.h:60
void SetPromptId(Aws::String &&value)
Definition Prompt.h:63
Prompt & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Prompt.h:108
Prompt & WithPromptId(const char *value)
Definition Prompt.h:67
Prompt & AddTags(const Aws::String &key, const Aws::String &value)
Definition Prompt.h:109
Prompt & WithLastModifiedRegion(const Aws::String &value)
Definition Prompt.h:139
Prompt & AddTags(const Aws::String &key, Aws::String &&value)
Definition Prompt.h:111
void SetName(const char *value)
Definition Prompt.h:78
bool LastModifiedRegionHasBeenSet() const
Definition Prompt.h:135
bool TagsHasBeenSet() const
Definition Prompt.h:104
const Aws::String & GetLastModifiedRegion() const
Definition Prompt.h:134
Prompt & AddTags(Aws::String &&key, const Aws::String &value)
Definition Prompt.h:110
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Prompt.h:103
void SetDescription(const Aws::String &value)
Definition Prompt.h:90
Prompt & WithPromptARN(Aws::String &&value)
Definition Prompt.h:52
void SetDescription(const char *value)
Definition Prompt.h:92
void SetPromptARN(const Aws::String &value)
Definition Prompt.h:48
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Prompt.h:122
Prompt & WithDescription(Aws::String &&value)
Definition Prompt.h:94
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue