AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSolFunctionPackageResult.h
1
6#pragma once
7#include <aws/tnb/Tnb_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/tnb/model/OnboardingState.h>
10#include <aws/tnb/model/OperationalState.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/tnb/model/UsageState.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 tnb
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline CreateSolFunctionPackageResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline CreateSolFunctionPackageResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline CreateSolFunctionPackageResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const Aws::String& GetId() const{ return m_id; }
57 inline void SetId(const Aws::String& value) { m_id = value; }
58 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
59 inline void SetId(const char* value) { m_id.assign(value); }
60 inline CreateSolFunctionPackageResult& WithId(const Aws::String& value) { SetId(value); return *this;}
61 inline CreateSolFunctionPackageResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
62 inline CreateSolFunctionPackageResult& WithId(const char* value) { SetId(value); return *this;}
64
66
69 inline const OnboardingState& GetOnboardingState() const{ return m_onboardingState; }
70 inline void SetOnboardingState(const OnboardingState& value) { m_onboardingState = value; }
71 inline void SetOnboardingState(OnboardingState&& value) { m_onboardingState = std::move(value); }
73 inline CreateSolFunctionPackageResult& WithOnboardingState(OnboardingState&& value) { SetOnboardingState(std::move(value)); return *this;}
75
77
80 inline const OperationalState& GetOperationalState() const{ return m_operationalState; }
81 inline void SetOperationalState(const OperationalState& value) { m_operationalState = value; }
82 inline void SetOperationalState(OperationalState&& value) { m_operationalState = std::move(value); }
86
88
93 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
94 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
95 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
97 inline CreateSolFunctionPackageResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
98 inline CreateSolFunctionPackageResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
99 inline CreateSolFunctionPackageResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
100 inline CreateSolFunctionPackageResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
101 inline CreateSolFunctionPackageResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
102 inline CreateSolFunctionPackageResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
103 inline CreateSolFunctionPackageResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
104 inline CreateSolFunctionPackageResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
106
108
111 inline const UsageState& GetUsageState() const{ return m_usageState; }
112 inline void SetUsageState(const UsageState& value) { m_usageState = value; }
113 inline void SetUsageState(UsageState&& value) { m_usageState = std::move(value); }
114 inline CreateSolFunctionPackageResult& WithUsageState(const UsageState& value) { SetUsageState(value); return *this;}
115 inline CreateSolFunctionPackageResult& WithUsageState(UsageState&& value) { SetUsageState(std::move(value)); return *this;}
117
119
120 inline const Aws::String& GetRequestId() const{ return m_requestId; }
121 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
122 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
123 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
124 inline CreateSolFunctionPackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
125 inline CreateSolFunctionPackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
126 inline CreateSolFunctionPackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
128 private:
129
130 Aws::String m_arn;
131
132 Aws::String m_id;
133
134 OnboardingState m_onboardingState;
135
136 OperationalState m_operationalState;
137
139
140 UsageState m_usageState;
141
142 Aws::String m_requestId;
143 };
144
145} // namespace Model
146} // namespace tnb
147} // namespace Aws
CreateSolFunctionPackageResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSolFunctionPackageResult & WithRequestId(const Aws::String &value)
CreateSolFunctionPackageResult & WithOnboardingState(const OnboardingState &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSolFunctionPackageResult & WithRequestId(Aws::String &&value)
CreateSolFunctionPackageResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateSolFunctionPackageResult & AddTags(const char *key, Aws::String &&value)
AWS_TNB_API CreateSolFunctionPackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSolFunctionPackageResult & WithArn(Aws::String &&value)
CreateSolFunctionPackageResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSolFunctionPackageResult & WithOperationalState(const OperationalState &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSolFunctionPackageResult & WithId(Aws::String &&value)
CreateSolFunctionPackageResult & WithId(const Aws::String &value)
CreateSolFunctionPackageResult & AddTags(Aws::String &&key, const char *value)
AWS_TNB_API CreateSolFunctionPackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSolFunctionPackageResult & WithOnboardingState(OnboardingState &&value)
CreateSolFunctionPackageResult & WithArn(const Aws::String &value)
CreateSolFunctionPackageResult & WithArn(const char *value)
CreateSolFunctionPackageResult & WithOperationalState(OperationalState &&value)
CreateSolFunctionPackageResult & WithId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSolFunctionPackageResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateSolFunctionPackageResult & WithUsageState(UsageState &&value)
CreateSolFunctionPackageResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateSolFunctionPackageResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateSolFunctionPackageResult & AddTags(const char *key, const char *value)
CreateSolFunctionPackageResult & WithUsageState(const UsageState &value)
CreateSolFunctionPackageResult & WithRequestId(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue