AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountAssignmentOperationStatusMetadata.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sso-admin/model/StatusValues.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 SSOAdmin
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
48 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
49 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
50 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
54
56
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
62 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
66 inline AccountAssignmentOperationStatusMetadata& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline AccountAssignmentOperationStatusMetadata& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69
71
74 inline const StatusValues& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const StatusValues& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(StatusValues&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline AccountAssignmentOperationStatusMetadata& WithStatus(const StatusValues& value) { SetStatus(value); return *this;}
79 inline AccountAssignmentOperationStatusMetadata& WithStatus(StatusValues&& value) { SetStatus(std::move(value)); return *this;}
81 private:
82
83 Aws::Utils::DateTime m_createdDate;
84 bool m_createdDateHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88
89 StatusValues m_status;
90 bool m_statusHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SSOAdmin
95} // namespace Aws
AccountAssignmentOperationStatusMetadata & WithRequestId(Aws::String &&value)
AccountAssignmentOperationStatusMetadata & WithCreatedDate(Aws::Utils::DateTime &&value)
AccountAssignmentOperationStatusMetadata & WithCreatedDate(const Aws::Utils::DateTime &value)
AccountAssignmentOperationStatusMetadata & WithRequestId(const Aws::String &value)
AccountAssignmentOperationStatusMetadata & WithRequestId(const char *value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSOADMIN_API AccountAssignmentOperationStatusMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountAssignmentOperationStatusMetadata & WithStatus(StatusValues &&value)
AccountAssignmentOperationStatusMetadata & WithStatus(const StatusValues &value)
AWS_SSOADMIN_API AccountAssignmentOperationStatusMetadata(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue