AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
AssociateApplicationsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace GameLiftStreams {
24namespace Model {
26 public:
27 AWS_GAMELIFTSTREAMS_API AssociateApplicationsResult() = default;
30
32
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
64 inline const Aws::Vector<Aws::String>& GetApplicationArns() const { return m_applicationArns; }
65 template <typename ApplicationArnsT = Aws::Vector<Aws::String>>
66 void SetApplicationArns(ApplicationArnsT&& value) {
67 m_applicationArnsHasBeenSet = true;
68 m_applicationArns = std::forward<ApplicationArnsT>(value);
69 }
70 template <typename ApplicationArnsT = Aws::Vector<Aws::String>>
72 SetApplicationArns(std::forward<ApplicationArnsT>(value));
73 return *this;
74 }
75 template <typename ApplicationArnsT = Aws::String>
77 m_applicationArnsHasBeenSet = true;
78 m_applicationArns.emplace_back(std::forward<ApplicationArnsT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
98
99 private:
100 Aws::String m_arn;
101
102 Aws::Vector<Aws::String> m_applicationArns;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_arnHasBeenSet = false;
107 bool m_applicationArnsHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace GameLiftStreams
113} // namespace Aws
const Aws::Vector< Aws::String > & GetApplicationArns() const
AssociateApplicationsResult & AddApplicationArns(ApplicationArnsT &&value)
AWS_GAMELIFTSTREAMS_API AssociateApplicationsResult()=default
AssociateApplicationsResult & WithRequestId(RequestIdT &&value)
AssociateApplicationsResult & WithApplicationArns(ApplicationArnsT &&value)
AWS_GAMELIFTSTREAMS_API AssociateApplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFTSTREAMS_API AssociateApplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue