AWS SDK for C++  1.9.104
AWS SDK for C++
AccountAssignmentOperationStatusMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SSOAdmin
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const StatusValues& GetStatus() const{ return m_status; }
47 
51  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
52 
56  inline void SetStatus(const StatusValues& value) { m_statusHasBeenSet = true; m_status = value; }
57 
61  inline void SetStatus(StatusValues&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
62 
66  inline AccountAssignmentOperationStatusMetadata& WithStatus(const StatusValues& value) { SetStatus(value); return *this;}
67 
71  inline AccountAssignmentOperationStatusMetadata& WithStatus(StatusValues&& value) { SetStatus(std::move(value)); return *this;}
72 
73 
78  inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 
84  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
85 
90  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
91 
96  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
97 
102  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
103 
108  inline AccountAssignmentOperationStatusMetadata& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
109 
114  inline AccountAssignmentOperationStatusMetadata& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
115 
120  inline AccountAssignmentOperationStatusMetadata& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 
122 
126  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
127 
131  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
132 
136  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
137 
141  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
142 
146  inline AccountAssignmentOperationStatusMetadata& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
147 
151  inline AccountAssignmentOperationStatusMetadata& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
152 
153  private:
154 
155  StatusValues m_status;
156  bool m_statusHasBeenSet;
157 
158  Aws::String m_requestId;
159  bool m_requestIdHasBeenSet;
160 
161  Aws::Utils::DateTime m_createdDate;
162  bool m_createdDateHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace SSOAdmin
167 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: AccountAssignmentOperationStatusMetadata.h:136
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: AccountAssignmentOperationStatusMetadata.h:90
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::WithRequestId
AccountAssignmentOperationStatusMetadata & WithRequestId(Aws::String &&value)
Definition: AccountAssignmentOperationStatusMetadata.h:114
DateTime.h
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AccountAssignmentOperationStatusMetadata.h:51
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::WithCreatedDate
AccountAssignmentOperationStatusMetadata & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: AccountAssignmentOperationStatusMetadata.h:146
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::WithStatus
AccountAssignmentOperationStatusMetadata & WithStatus(StatusValues &&value)
Definition: AccountAssignmentOperationStatusMetadata.h:71
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::GetRequestId
const Aws::String & GetRequestId() const
Definition: AccountAssignmentOperationStatusMetadata.h:78
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::WithRequestId
AccountAssignmentOperationStatusMetadata & WithRequestId(const char *value)
Definition: AccountAssignmentOperationStatusMetadata.h:120
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::SetRequestId
void SetRequestId(const char *value)
Definition: AccountAssignmentOperationStatusMetadata.h:102
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: AccountAssignmentOperationStatusMetadata.h:96
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata
Definition: AccountAssignmentOperationStatusMetadata.h:35
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::StatusValues
StatusValues
Definition: StatusValues.h:17
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::WithRequestId
AccountAssignmentOperationStatusMetadata & WithRequestId(const Aws::String &value)
Definition: AccountAssignmentOperationStatusMetadata.h:108
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::AccountAssignmentOperationStatusMetadata
AccountAssignmentOperationStatusMetadata()
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::operator=
AccountAssignmentOperationStatusMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::WithCreatedDate
AccountAssignmentOperationStatusMetadata & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: AccountAssignmentOperationStatusMetadata.h:151
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::AccountAssignmentOperationStatusMetadata
AccountAssignmentOperationStatusMetadata(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: AccountAssignmentOperationStatusMetadata.h:126
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: AccountAssignmentOperationStatusMetadata.h:141
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::GetStatus
const StatusValues & GetStatus() const
Definition: AccountAssignmentOperationStatusMetadata.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::WithStatus
AccountAssignmentOperationStatusMetadata & WithStatus(const StatusValues &value)
Definition: AccountAssignmentOperationStatusMetadata.h:66
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::SetStatus
void SetStatus(StatusValues &&value)
Definition: AccountAssignmentOperationStatusMetadata.h:61
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: AccountAssignmentOperationStatusMetadata.h:84
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: AccountAssignmentOperationStatusMetadata.h:131
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
StatusValues.h
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::SetStatus
void SetStatus(const StatusValues &value)
Definition: AccountAssignmentOperationStatusMetadata.h:56
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const