AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSubscriptionResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeCatalyst
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CODECATALYST_API GetSubscriptionResult();
34
35
37
40 inline const Aws::String& GetSubscriptionType() const{ return m_subscriptionType; }
41 inline void SetSubscriptionType(const Aws::String& value) { m_subscriptionType = value; }
42 inline void SetSubscriptionType(Aws::String&& value) { m_subscriptionType = std::move(value); }
43 inline void SetSubscriptionType(const char* value) { m_subscriptionType.assign(value); }
44 inline GetSubscriptionResult& WithSubscriptionType(const Aws::String& value) { SetSubscriptionType(value); return *this;}
45 inline GetSubscriptionResult& WithSubscriptionType(Aws::String&& value) { SetSubscriptionType(std::move(value)); return *this;}
46 inline GetSubscriptionResult& WithSubscriptionType(const char* value) { SetSubscriptionType(value); return *this;}
48
50
54 inline const Aws::String& GetAwsAccountName() const{ return m_awsAccountName; }
55 inline void SetAwsAccountName(const Aws::String& value) { m_awsAccountName = value; }
56 inline void SetAwsAccountName(Aws::String&& value) { m_awsAccountName = std::move(value); }
57 inline void SetAwsAccountName(const char* value) { m_awsAccountName.assign(value); }
58 inline GetSubscriptionResult& WithAwsAccountName(const Aws::String& value) { SetAwsAccountName(value); return *this;}
59 inline GetSubscriptionResult& WithAwsAccountName(Aws::String&& value) { SetAwsAccountName(std::move(value)); return *this;}
60 inline GetSubscriptionResult& WithAwsAccountName(const char* value) { SetAwsAccountName(value); return *this;}
62
64
71 inline const Aws::String& GetPendingSubscriptionType() const{ return m_pendingSubscriptionType; }
72 inline void SetPendingSubscriptionType(const Aws::String& value) { m_pendingSubscriptionType = value; }
73 inline void SetPendingSubscriptionType(Aws::String&& value) { m_pendingSubscriptionType = std::move(value); }
74 inline void SetPendingSubscriptionType(const char* value) { m_pendingSubscriptionType.assign(value); }
77 inline GetSubscriptionResult& WithPendingSubscriptionType(const char* value) { SetPendingSubscriptionType(value); return *this;}
79
81
86 inline const Aws::Utils::DateTime& GetPendingSubscriptionStartTime() const{ return m_pendingSubscriptionStartTime; }
87 inline void SetPendingSubscriptionStartTime(const Aws::Utils::DateTime& value) { m_pendingSubscriptionStartTime = value; }
88 inline void SetPendingSubscriptionStartTime(Aws::Utils::DateTime&& value) { m_pendingSubscriptionStartTime = std::move(value); }
92
94
95 inline const Aws::String& GetRequestId() const{ return m_requestId; }
96 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
99 inline GetSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
100 inline GetSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline GetSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 Aws::String m_subscriptionType;
106
107 Aws::String m_awsAccountName;
108
109 Aws::String m_pendingSubscriptionType;
110
111 Aws::Utils::DateTime m_pendingSubscriptionStartTime;
112
113 Aws::String m_requestId;
114 };
115
116} // namespace Model
117} // namespace CodeCatalyst
118} // namespace Aws
GetSubscriptionResult & WithPendingSubscriptionStartTime(Aws::Utils::DateTime &&value)
void SetPendingSubscriptionType(const Aws::String &value)
const Aws::Utils::DateTime & GetPendingSubscriptionStartTime() const
GetSubscriptionResult & WithPendingSubscriptionType(const char *value)
GetSubscriptionResult & WithPendingSubscriptionType(Aws::String &&value)
GetSubscriptionResult & WithSubscriptionType(const char *value)
GetSubscriptionResult & WithPendingSubscriptionType(const Aws::String &value)
GetSubscriptionResult & WithSubscriptionType(Aws::String &&value)
GetSubscriptionResult & WithPendingSubscriptionStartTime(const Aws::Utils::DateTime &value)
AWS_CODECATALYST_API GetSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionResult & WithRequestId(Aws::String &&value)
void SetPendingSubscriptionStartTime(const Aws::Utils::DateTime &value)
GetSubscriptionResult & WithAwsAccountName(Aws::String &&value)
AWS_CODECATALYST_API GetSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionResult & WithSubscriptionType(const Aws::String &value)
GetSubscriptionResult & WithAwsAccountName(const Aws::String &value)
void SetPendingSubscriptionStartTime(Aws::Utils::DateTime &&value)
GetSubscriptionResult & WithRequestId(const char *value)
GetSubscriptionResult & WithRequestId(const Aws::String &value)
GetSubscriptionResult & WithAwsAccountName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue