AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PromptSummary.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/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API PromptSummary();
36 AWS_CONNECT_API PromptSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline PromptSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline PromptSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline PromptSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetArn() const{ return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
62 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 inline PromptSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 inline PromptSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 inline PromptSummary& WithArn(const char* value) { SetArn(value); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline PromptSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline PromptSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline PromptSummary& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
88 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
89 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
90 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
91 inline PromptSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
92 inline PromptSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
100 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
101 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
102 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
103 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
104 inline PromptSummary& WithLastModifiedRegion(const Aws::String& value) { SetLastModifiedRegion(value); return *this;}
105 inline PromptSummary& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
106 inline PromptSummary& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
108 private:
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::Utils::DateTime m_lastModifiedTime;
120 bool m_lastModifiedTimeHasBeenSet = false;
121
122 Aws::String m_lastModifiedRegion;
123 bool m_lastModifiedRegionHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Connect
128} // namespace Aws
PromptSummary & WithLastModifiedRegion(const Aws::String &value)
PromptSummary & WithId(const char *value)
void SetLastModifiedRegion(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedRegion(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
PromptSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
PromptSummary & WithId(Aws::String &&value)
void SetArn(const char *value)
const Aws::String & GetLastModifiedRegion() const
AWS_CONNECT_API PromptSummary(Aws::Utils::Json::JsonView jsonValue)
PromptSummary & WithName(const Aws::String &value)
void SetArn(Aws::String &&value)
PromptSummary & WithId(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
PromptSummary & WithArn(const Aws::String &value)
PromptSummary & WithLastModifiedRegion(Aws::String &&value)
PromptSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
PromptSummary & WithName(const char *value)
PromptSummary & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
void SetName(const char *value)
PromptSummary & WithArn(const char *value)
AWS_CONNECT_API PromptSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetId(Aws::String &&value)
PromptSummary & WithArn(Aws::String &&value)
PromptSummary & WithLastModifiedRegion(const char *value)
const Aws::String & GetArn() const
void SetArn(const Aws::String &value)
void SetName(const Aws::String &value)
void SetId(const char *value)
void SetLastModifiedRegion(const Aws::String &value)
void SetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue