AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoleAliasDescription.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOT_API RoleAliasDescription();
39
40
42
45 inline const Aws::String& GetRoleAlias() const{ return m_roleAlias; }
46 inline bool RoleAliasHasBeenSet() const { return m_roleAliasHasBeenSet; }
47 inline void SetRoleAlias(const Aws::String& value) { m_roleAliasHasBeenSet = true; m_roleAlias = value; }
48 inline void SetRoleAlias(Aws::String&& value) { m_roleAliasHasBeenSet = true; m_roleAlias = std::move(value); }
49 inline void SetRoleAlias(const char* value) { m_roleAliasHasBeenSet = true; m_roleAlias.assign(value); }
50 inline RoleAliasDescription& WithRoleAlias(const Aws::String& value) { SetRoleAlias(value); return *this;}
51 inline RoleAliasDescription& WithRoleAlias(Aws::String&& value) { SetRoleAlias(std::move(value)); return *this;}
52 inline RoleAliasDescription& WithRoleAlias(const char* value) { SetRoleAlias(value); return *this;}
54
56
59 inline const Aws::String& GetRoleAliasArn() const{ return m_roleAliasArn; }
60 inline bool RoleAliasArnHasBeenSet() const { return m_roleAliasArnHasBeenSet; }
61 inline void SetRoleAliasArn(const Aws::String& value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn = value; }
62 inline void SetRoleAliasArn(Aws::String&& value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn = std::move(value); }
63 inline void SetRoleAliasArn(const char* value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn.assign(value); }
64 inline RoleAliasDescription& WithRoleAliasArn(const Aws::String& value) { SetRoleAliasArn(value); return *this;}
65 inline RoleAliasDescription& WithRoleAliasArn(Aws::String&& value) { SetRoleAliasArn(std::move(value)); return *this;}
66 inline RoleAliasDescription& WithRoleAliasArn(const char* value) { SetRoleAliasArn(value); return *this;}
68
70
73 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
74 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
75 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
76 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
77 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
78 inline RoleAliasDescription& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
79 inline RoleAliasDescription& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
80 inline RoleAliasDescription& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
82
84
87 inline const Aws::String& GetOwner() const{ return m_owner; }
88 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
89 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
90 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
91 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
92 inline RoleAliasDescription& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
93 inline RoleAliasDescription& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
94 inline RoleAliasDescription& WithOwner(const char* value) { SetOwner(value); return *this;}
96
98
101 inline int GetCredentialDurationSeconds() const{ return m_credentialDurationSeconds; }
102 inline bool CredentialDurationSecondsHasBeenSet() const { return m_credentialDurationSecondsHasBeenSet; }
103 inline void SetCredentialDurationSeconds(int value) { m_credentialDurationSecondsHasBeenSet = true; m_credentialDurationSeconds = value; }
106
108
111 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
112 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
113 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
114 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
115 inline RoleAliasDescription& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
116 inline RoleAliasDescription& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
124 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
125 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
126 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
128 inline RoleAliasDescription& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
130 private:
131
132 Aws::String m_roleAlias;
133 bool m_roleAliasHasBeenSet = false;
134
135 Aws::String m_roleAliasArn;
136 bool m_roleAliasArnHasBeenSet = false;
137
138 Aws::String m_roleArn;
139 bool m_roleArnHasBeenSet = false;
140
141 Aws::String m_owner;
142 bool m_ownerHasBeenSet = false;
143
144 int m_credentialDurationSeconds;
145 bool m_credentialDurationSecondsHasBeenSet = false;
146
147 Aws::Utils::DateTime m_creationDate;
148 bool m_creationDateHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastModifiedDate;
151 bool m_lastModifiedDateHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace IoT
156} // namespace Aws
RoleAliasDescription & WithCreationDate(Aws::Utils::DateTime &&value)
RoleAliasDescription & WithOwner(Aws::String &&value)
RoleAliasDescription & WithOwner(const char *value)
RoleAliasDescription & WithRoleArn(const char *value)
RoleAliasDescription & WithRoleAlias(const Aws::String &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
AWS_IOT_API RoleAliasDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
RoleAliasDescription & WithCredentialDurationSeconds(int value)
RoleAliasDescription & WithLastModifiedDate(Aws::Utils::DateTime &&value)
RoleAliasDescription & WithRoleAliasArn(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
const Aws::String & GetRoleAliasArn() const
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
void SetRoleAlias(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetRoleArn(const Aws::String &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRoleAlias() const
RoleAliasDescription & WithCreationDate(const Aws::Utils::DateTime &value)
RoleAliasDescription & WithRoleAliasArn(Aws::String &&value)
RoleAliasDescription & WithLastModifiedDate(const Aws::Utils::DateTime &value)
void SetRoleAliasArn(const Aws::String &value)
RoleAliasDescription & WithRoleAlias(Aws::String &&value)
void SetOwner(const Aws::String &value)
AWS_IOT_API RoleAliasDescription(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationDate() const
RoleAliasDescription & WithRoleAliasArn(const Aws::String &value)
RoleAliasDescription & WithOwner(const Aws::String &value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
RoleAliasDescription & WithRoleArn(const Aws::String &value)
RoleAliasDescription & WithRoleAlias(const char *value)
RoleAliasDescription & WithRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue