AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AssociateApplicationsResult.h
1
6#pragma once
7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 GameLiftStreams
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GAMELIFTSTREAMS_API AssociateApplicationsResult() = default;
34
35
37
46 inline const Aws::Vector<Aws::String>& GetApplicationArns() const { return m_applicationArns; }
47 template<typename ApplicationArnsT = Aws::Vector<Aws::String>>
48 void SetApplicationArns(ApplicationArnsT&& value) { m_applicationArnsHasBeenSet = true; m_applicationArns = std::forward<ApplicationArnsT>(value); }
49 template<typename ApplicationArnsT = Aws::Vector<Aws::String>>
50 AssociateApplicationsResult& WithApplicationArns(ApplicationArnsT&& value) { SetApplicationArns(std::forward<ApplicationArnsT>(value)); return *this;}
51 template<typename ApplicationArnsT = Aws::String>
52 AssociateApplicationsResult& AddApplicationArns(ApplicationArnsT&& value) { m_applicationArnsHasBeenSet = true; m_applicationArns.emplace_back(std::forward<ApplicationArnsT>(value)); return *this; }
54
56
65 inline const Aws::String& GetArn() const { return m_arn; }
66 template<typename ArnT = Aws::String>
67 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
68 template<typename ArnT = Aws::String>
69 AssociateApplicationsResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 AssociateApplicationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
82 Aws::Vector<Aws::String> m_applicationArns;
83 bool m_applicationArnsHasBeenSet = false;
84
85 Aws::String m_arn;
86 bool m_arnHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace GameLiftStreams
94} // 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