AWS SDK for C++

AWS SDK for C++ Version 1.11.855

Loading...
Searching...
No Matches
CloudConnectorSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SSM {
21namespace Model {
22
29 public:
30 AWS_SSM_API CloudConnectorSummary() = default;
34
36
39 inline const Aws::String& GetCloudConnectorId() const { return m_cloudConnectorId; }
40 inline bool CloudConnectorIdHasBeenSet() const { return m_cloudConnectorIdHasBeenSet; }
41 template <typename CloudConnectorIdT = Aws::String>
42 void SetCloudConnectorId(CloudConnectorIdT&& value) {
43 m_cloudConnectorIdHasBeenSet = true;
44 m_cloudConnectorId = std::forward<CloudConnectorIdT>(value);
45 }
46 template <typename CloudConnectorIdT = Aws::String>
47 CloudConnectorSummary& WithCloudConnectorId(CloudConnectorIdT&& value) {
48 SetCloudConnectorId(std::forward<CloudConnectorIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
59 template <typename DisplayNameT = Aws::String>
60 void SetDisplayName(DisplayNameT&& value) {
61 m_displayNameHasBeenSet = true;
62 m_displayName = std::forward<DisplayNameT>(value);
63 }
64 template <typename DisplayNameT = Aws::String>
65 CloudConnectorSummary& WithDisplayName(DisplayNameT&& value) {
66 SetDisplayName(std::forward<DisplayNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 CloudConnectorSummary& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
94 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
95 template <typename RoleArnT = Aws::String>
96 void SetRoleArn(RoleArnT&& value) {
97 m_roleArnHasBeenSet = true;
98 m_roleArn = std::forward<RoleArnT>(value);
99 }
100 template <typename RoleArnT = Aws::String>
102 SetRoleArn(std::forward<RoleArnT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
112 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
113 template <typename CreatedAtT = Aws::Utils::DateTime>
114 void SetCreatedAt(CreatedAtT&& value) {
115 m_createdAtHasBeenSet = true;
116 m_createdAt = std::forward<CreatedAtT>(value);
117 }
118 template <typename CreatedAtT = Aws::Utils::DateTime>
120 SetCreatedAt(std::forward<CreatedAtT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
130 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
131 template <typename UpdatedAtT = Aws::Utils::DateTime>
132 void SetUpdatedAt(UpdatedAtT&& value) {
133 m_updatedAtHasBeenSet = true;
134 m_updatedAt = std::forward<UpdatedAtT>(value);
135 }
136 template <typename UpdatedAtT = Aws::Utils::DateTime>
138 SetUpdatedAt(std::forward<UpdatedAtT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_cloudConnectorId;
144
145 Aws::String m_displayName;
146
147 Aws::String m_description;
148
149 Aws::String m_roleArn;
150
151 Aws::Utils::DateTime m_createdAt{};
152
153 Aws::Utils::DateTime m_updatedAt{};
154 bool m_cloudConnectorIdHasBeenSet = false;
155 bool m_displayNameHasBeenSet = false;
156 bool m_descriptionHasBeenSet = false;
157 bool m_roleArnHasBeenSet = false;
158 bool m_createdAtHasBeenSet = false;
159 bool m_updatedAtHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace SSM
164} // namespace Aws
CloudConnectorSummary & WithDescription(DescriptionT &&value)
void SetCloudConnectorId(CloudConnectorIdT &&value)
CloudConnectorSummary & WithUpdatedAt(UpdatedAtT &&value)
CloudConnectorSummary & WithDisplayName(DisplayNameT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
CloudConnectorSummary & WithCreatedAt(CreatedAtT &&value)
CloudConnectorSummary & WithCloudConnectorId(CloudConnectorIdT &&value)
AWS_SSM_API CloudConnectorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCloudConnectorId() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_SSM_API CloudConnectorSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API CloudConnectorSummary()=default
CloudConnectorSummary & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue