AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterAccountResult.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/model/RegistrationStatus.h>
9#include <aws/iotfleetwise/model/TimestreamResources.h>
10#include <aws/iotfleetwise/model/IamResources.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTFleetWise
28{
29namespace Model
30{
32 {
33 public:
34 AWS_IOTFLEETWISE_API RegisterAccountResult();
37
38
40
44 inline const RegistrationStatus& GetRegisterAccountStatus() const{ return m_registerAccountStatus; }
45 inline void SetRegisterAccountStatus(const RegistrationStatus& value) { m_registerAccountStatus = value; }
46 inline void SetRegisterAccountStatus(RegistrationStatus&& value) { m_registerAccountStatus = std::move(value); }
50
52
53 inline const TimestreamResources& GetTimestreamResources() const{ return m_timestreamResources; }
54 inline void SetTimestreamResources(const TimestreamResources& value) { m_timestreamResources = value; }
55 inline void SetTimestreamResources(TimestreamResources&& value) { m_timestreamResources = std::move(value); }
59
61
65 inline const IamResources& GetIamResources() const{ return m_iamResources; }
66 inline void SetIamResources(const IamResources& value) { m_iamResources = value; }
67 inline void SetIamResources(IamResources&& value) { m_iamResources = std::move(value); }
68 inline RegisterAccountResult& WithIamResources(const IamResources& value) { SetIamResources(value); return *this;}
69 inline RegisterAccountResult& WithIamResources(IamResources&& value) { SetIamResources(std::move(value)); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
78 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
79 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
80 inline RegisterAccountResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
81 inline RegisterAccountResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
90 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
91 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline RegisterAccountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline RegisterAccountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline RegisterAccountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 RegistrationStatus m_registerAccountStatus;
109
110 TimestreamResources m_timestreamResources;
111
112 IamResources m_iamResources;
113
114 Aws::Utils::DateTime m_creationTime;
115
116 Aws::Utils::DateTime m_lastModificationTime;
117
118 Aws::String m_requestId;
119 };
120
121} // namespace Model
122} // namespace IoTFleetWise
123} // namespace Aws
void SetLastModificationTime(const Aws::Utils::DateTime &value)
RegisterAccountResult & WithRequestId(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetRegisterAccountStatus(const RegistrationStatus &value)
RegisterAccountResult & WithRegisterAccountStatus(const RegistrationStatus &value)
AWS_IOTFLEETWISE_API RegisterAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetTimestreamResources(const TimestreamResources &value)
RegisterAccountResult & WithIamResources(IamResources &&value)
AWS_IOTFLEETWISE_API RegisterAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterAccountResult & WithIamResources(const IamResources &value)
const Aws::Utils::DateTime & GetCreationTime() const
RegisterAccountResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetTimestreamResources(TimestreamResources &&value)
void SetRegisterAccountStatus(RegistrationStatus &&value)
const TimestreamResources & GetTimestreamResources() const
RegisterAccountResult & WithRegisterAccountStatus(RegistrationStatus &&value)
RegisterAccountResult & WithLastModificationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModificationTime() const
RegisterAccountResult & WithTimestreamResources(const TimestreamResources &value)
RegisterAccountResult & WithLastModificationTime(Aws::Utils::DateTime &&value)
RegisterAccountResult & WithCreationTime(Aws::Utils::DateTime &&value)
RegisterAccountResult & WithRequestId(const Aws::String &value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
RegisterAccountResult & WithTimestreamResources(TimestreamResources &&value)
const RegistrationStatus & GetRegisterAccountStatus() const
RegisterAccountResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue