AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAliasResult.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/AliasRoutingConfiguration.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 Lambda
25{
26namespace Model
27{
36 {
37 public:
38 AWS_LAMBDA_API CreateAliasResult();
41
42
44
47 inline const Aws::String& GetAliasArn() const{ return m_aliasArn; }
48 inline void SetAliasArn(const Aws::String& value) { m_aliasArn = value; }
49 inline void SetAliasArn(Aws::String&& value) { m_aliasArn = std::move(value); }
50 inline void SetAliasArn(const char* value) { m_aliasArn.assign(value); }
51 inline CreateAliasResult& WithAliasArn(const Aws::String& value) { SetAliasArn(value); return *this;}
52 inline CreateAliasResult& WithAliasArn(Aws::String&& value) { SetAliasArn(std::move(value)); return *this;}
53 inline CreateAliasResult& WithAliasArn(const char* value) { SetAliasArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline void SetName(const Aws::String& value) { m_name = value; }
62 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
63 inline void SetName(const char* value) { m_name.assign(value); }
64 inline CreateAliasResult& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline CreateAliasResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline CreateAliasResult& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetFunctionVersion() const{ return m_functionVersion; }
74 inline void SetFunctionVersion(const Aws::String& value) { m_functionVersion = value; }
75 inline void SetFunctionVersion(Aws::String&& value) { m_functionVersion = std::move(value); }
76 inline void SetFunctionVersion(const char* value) { m_functionVersion.assign(value); }
77 inline CreateAliasResult& WithFunctionVersion(const Aws::String& value) { SetFunctionVersion(value); return *this;}
78 inline CreateAliasResult& WithFunctionVersion(Aws::String&& value) { SetFunctionVersion(std::move(value)); return *this;}
79 inline CreateAliasResult& WithFunctionVersion(const char* value) { SetFunctionVersion(value); return *this;}
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline void SetDescription(const Aws::String& value) { m_description = value; }
88 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
89 inline void SetDescription(const char* value) { m_description.assign(value); }
90 inline CreateAliasResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
91 inline CreateAliasResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
92 inline CreateAliasResult& WithDescription(const char* value) { SetDescription(value); return *this;}
94
96
101 inline const AliasRoutingConfiguration& GetRoutingConfig() const{ return m_routingConfig; }
102 inline void SetRoutingConfig(const AliasRoutingConfiguration& value) { m_routingConfig = value; }
103 inline void SetRoutingConfig(AliasRoutingConfiguration&& value) { m_routingConfig = std::move(value); }
105 inline CreateAliasResult& WithRoutingConfig(AliasRoutingConfiguration&& value) { SetRoutingConfig(std::move(value)); return *this;}
107
109
112 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
113 inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
114 inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
115 inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
116 inline CreateAliasResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
117 inline CreateAliasResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
118 inline CreateAliasResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
120
122
123 inline const Aws::String& GetRequestId() const{ return m_requestId; }
124 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
125 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
126 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
127 inline CreateAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
128 inline CreateAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
129 inline CreateAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
131 private:
132
133 Aws::String m_aliasArn;
134
135 Aws::String m_name;
136
137 Aws::String m_functionVersion;
138
139 Aws::String m_description;
140
141 AliasRoutingConfiguration m_routingConfig;
142
143 Aws::String m_revisionId;
144
145 Aws::String m_requestId;
146 };
147
148} // namespace Model
149} // namespace Lambda
150} // namespace Aws
const Aws::String & GetRequestId() const
void SetAliasArn(Aws::String &&value)
CreateAliasResult & WithRevisionId(const Aws::String &value)
void SetRevisionId(const Aws::String &value)
CreateAliasResult & WithAliasArn(Aws::String &&value)
CreateAliasResult & WithDescription(Aws::String &&value)
CreateAliasResult & WithFunctionVersion(const Aws::String &value)
CreateAliasResult & WithRequestId(Aws::String &&value)
void SetFunctionVersion(const Aws::String &value)
AWS_LAMBDA_API CreateAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoutingConfig(const AliasRoutingConfiguration &value)
const AliasRoutingConfiguration & GetRoutingConfig() const
CreateAliasResult & WithAliasArn(const char *value)
CreateAliasResult & WithAliasArn(const Aws::String &value)
CreateAliasResult & WithRequestId(const Aws::String &value)
CreateAliasResult & WithRevisionId(Aws::String &&value)
void SetDescription(const Aws::String &value)
CreateAliasResult & WithRoutingConfig(AliasRoutingConfiguration &&value)
const Aws::String & GetDescription() const
void SetRevisionId(Aws::String &&value)
CreateAliasResult & WithFunctionVersion(Aws::String &&value)
CreateAliasResult & WithRevisionId(const char *value)
void SetAliasArn(const Aws::String &value)
void SetFunctionVersion(const char *value)
const Aws::String & GetFunctionVersion() const
CreateAliasResult & WithName(const Aws::String &value)
CreateAliasResult & WithName(Aws::String &&value)
void SetRequestId(const Aws::String &value)
CreateAliasResult & WithName(const char *value)
const Aws::String & GetName() const
const Aws::String & GetRevisionId() const
void SetName(const Aws::String &value)
void SetDescription(Aws::String &&value)
CreateAliasResult & WithDescription(const Aws::String &value)
CreateAliasResult & WithRoutingConfig(const AliasRoutingConfiguration &value)
void SetFunctionVersion(Aws::String &&value)
CreateAliasResult & WithFunctionVersion(const char *value)
CreateAliasResult & WithRequestId(const char *value)
const Aws::String & GetAliasArn() const
AWS_LAMBDA_API CreateAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoutingConfig(AliasRoutingConfiguration &&value)
CreateAliasResult & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue