AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeInstanceResult.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/InstanceStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SSOAdmin
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SSOADMIN_API DescribeInstanceResult();
35
36
38
41 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
42 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
43 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
44 inline DescribeInstanceResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
45 inline DescribeInstanceResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
47
49
53 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
54 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreId = value; }
55 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreId = std::move(value); }
56 inline void SetIdentityStoreId(const char* value) { m_identityStoreId.assign(value); }
57 inline DescribeInstanceResult& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
58 inline DescribeInstanceResult& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
59 inline DescribeInstanceResult& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
61
63
70 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
71 inline void SetInstanceArn(const Aws::String& value) { m_instanceArn = value; }
72 inline void SetInstanceArn(Aws::String&& value) { m_instanceArn = std::move(value); }
73 inline void SetInstanceArn(const char* value) { m_instanceArn.assign(value); }
74 inline DescribeInstanceResult& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
75 inline DescribeInstanceResult& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
76 inline DescribeInstanceResult& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
78
80
83 inline const Aws::String& GetName() const{ return m_name; }
84 inline void SetName(const Aws::String& value) { m_name = value; }
85 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
86 inline void SetName(const char* value) { m_name.assign(value); }
87 inline DescribeInstanceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
88 inline DescribeInstanceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
89 inline DescribeInstanceResult& WithName(const char* value) { SetName(value); return *this;}
91
93
97 inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; }
98 inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountId = value; }
99 inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountId = std::move(value); }
100 inline void SetOwnerAccountId(const char* value) { m_ownerAccountId.assign(value); }
101 inline DescribeInstanceResult& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;}
102 inline DescribeInstanceResult& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;}
103 inline DescribeInstanceResult& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;}
105
107
110 inline const InstanceStatus& GetStatus() const{ return m_status; }
111 inline void SetStatus(const InstanceStatus& value) { m_status = value; }
112 inline void SetStatus(InstanceStatus&& value) { m_status = std::move(value); }
113 inline DescribeInstanceResult& WithStatus(const InstanceStatus& value) { SetStatus(value); return *this;}
114 inline DescribeInstanceResult& WithStatus(InstanceStatus&& value) { SetStatus(std::move(value)); return *this;}
116
118
119 inline const Aws::String& GetRequestId() const{ return m_requestId; }
120 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
121 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
122 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
123 inline DescribeInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
124 inline DescribeInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
125 inline DescribeInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
127 private:
128
129 Aws::Utils::DateTime m_createdDate;
130
131 Aws::String m_identityStoreId;
132
133 Aws::String m_instanceArn;
134
135 Aws::String m_name;
136
137 Aws::String m_ownerAccountId;
138
139 InstanceStatus m_status;
140
141 Aws::String m_requestId;
142 };
143
144} // namespace Model
145} // namespace SSOAdmin
146} // namespace Aws
DescribeInstanceResult & WithOwnerAccountId(Aws::String &&value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
DescribeInstanceResult & WithCreatedDate(const Aws::Utils::DateTime &value)
DescribeInstanceResult & WithRequestId(const char *value)
DescribeInstanceResult & WithStatus(InstanceStatus &&value)
DescribeInstanceResult & WithRequestId(Aws::String &&value)
DescribeInstanceResult & WithRequestId(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
AWS_SSOADMIN_API DescribeInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInstanceResult & WithOwnerAccountId(const Aws::String &value)
DescribeInstanceResult & WithCreatedDate(Aws::Utils::DateTime &&value)
DescribeInstanceResult & WithName(const Aws::String &value)
DescribeInstanceResult & WithIdentityStoreId(const char *value)
DescribeInstanceResult & WithIdentityStoreId(const Aws::String &value)
DescribeInstanceResult & WithOwnerAccountId(const char *value)
DescribeInstanceResult & WithName(Aws::String &&value)
DescribeInstanceResult & WithInstanceArn(Aws::String &&value)
DescribeInstanceResult & WithInstanceArn(const char *value)
const Aws::Utils::DateTime & GetCreatedDate() const
DescribeInstanceResult & WithInstanceArn(const Aws::String &value)
DescribeInstanceResult & WithIdentityStoreId(Aws::String &&value)
AWS_SSOADMIN_API DescribeInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInstanceResult & WithName(const char *value)
DescribeInstanceResult & WithStatus(const InstanceStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue