AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AssociateApplicationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gameliftstreams/GameLiftStreamsRequest.h>
10#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GameLiftStreams {
16namespace Model {
17
21 public:
22 AWS_GAMELIFTSTREAMS_API AssociateApplicationsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "AssociateApplications"; }
29
30 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
31
33
41 inline const Aws::String& GetIdentifier() const { return m_identifier; }
42 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
43 template <typename IdentifierT = Aws::String>
44 void SetIdentifier(IdentifierT&& value) {
45 m_identifierHasBeenSet = true;
46 m_identifier = std::forward<IdentifierT>(value);
47 }
48 template <typename IdentifierT = Aws::String>
50 SetIdentifier(std::forward<IdentifierT>(value));
51 return *this;
52 }
54
56
65 inline const Aws::Vector<Aws::String>& GetApplicationIdentifiers() const { return m_applicationIdentifiers; }
66 inline bool ApplicationIdentifiersHasBeenSet() const { return m_applicationIdentifiersHasBeenSet; }
67 template <typename ApplicationIdentifiersT = Aws::Vector<Aws::String>>
68 void SetApplicationIdentifiers(ApplicationIdentifiersT&& value) {
69 m_applicationIdentifiersHasBeenSet = true;
70 m_applicationIdentifiers = std::forward<ApplicationIdentifiersT>(value);
71 }
72 template <typename ApplicationIdentifiersT = Aws::Vector<Aws::String>>
73 AssociateApplicationsRequest& WithApplicationIdentifiers(ApplicationIdentifiersT&& value) {
74 SetApplicationIdentifiers(std::forward<ApplicationIdentifiersT>(value));
75 return *this;
76 }
77 template <typename ApplicationIdentifiersT = Aws::String>
78 AssociateApplicationsRequest& AddApplicationIdentifiers(ApplicationIdentifiersT&& value) {
79 m_applicationIdentifiersHasBeenSet = true;
80 m_applicationIdentifiers.emplace_back(std::forward<ApplicationIdentifiersT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_identifier;
86
87 Aws::Vector<Aws::String> m_applicationIdentifiers;
88 bool m_identifierHasBeenSet = false;
89 bool m_applicationIdentifiersHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace GameLiftStreams
94} // namespace Aws
AssociateApplicationsRequest & AddApplicationIdentifiers(ApplicationIdentifiersT &&value)
AssociateApplicationsRequest & WithApplicationIdentifiers(ApplicationIdentifiersT &&value)
AssociateApplicationsRequest & WithIdentifier(IdentifierT &&value)
const Aws::Vector< Aws::String > & GetApplicationIdentifiers() const
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
AWS_GAMELIFTSTREAMS_API AssociateApplicationsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector