AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DisassociateApplicationsRequest.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 DisassociateApplicationsRequest() = 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 "DisassociateApplications"; }
29
30 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
31
33
42 inline const Aws::String& GetIdentifier() const { return m_identifier; }
43 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
44 template <typename IdentifierT = Aws::String>
45 void SetIdentifier(IdentifierT&& value) {
46 m_identifierHasBeenSet = true;
47 m_identifier = std::forward<IdentifierT>(value);
48 }
49 template <typename IdentifierT = Aws::String>
51 SetIdentifier(std::forward<IdentifierT>(value));
52 return *this;
53 }
55
57
66 inline const Aws::Vector<Aws::String>& GetApplicationIdentifiers() const { return m_applicationIdentifiers; }
67 inline bool ApplicationIdentifiersHasBeenSet() const { return m_applicationIdentifiersHasBeenSet; }
68 template <typename ApplicationIdentifiersT = Aws::Vector<Aws::String>>
69 void SetApplicationIdentifiers(ApplicationIdentifiersT&& value) {
70 m_applicationIdentifiersHasBeenSet = true;
71 m_applicationIdentifiers = std::forward<ApplicationIdentifiersT>(value);
72 }
73 template <typename ApplicationIdentifiersT = Aws::Vector<Aws::String>>
75 SetApplicationIdentifiers(std::forward<ApplicationIdentifiersT>(value));
76 return *this;
77 }
78 template <typename ApplicationIdentifiersT = Aws::String>
80 m_applicationIdentifiersHasBeenSet = true;
81 m_applicationIdentifiers.emplace_back(std::forward<ApplicationIdentifiersT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_identifier;
87
88 Aws::Vector<Aws::String> m_applicationIdentifiers;
89 bool m_identifierHasBeenSet = false;
90 bool m_applicationIdentifiersHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace GameLiftStreams
95} // namespace Aws
DisassociateApplicationsRequest & WithIdentifier(IdentifierT &&value)
DisassociateApplicationsRequest & WithApplicationIdentifiers(ApplicationIdentifiersT &&value)
AWS_GAMELIFTSTREAMS_API DisassociateApplicationsRequest()=default
DisassociateApplicationsRequest & AddApplicationIdentifiers(ApplicationIdentifiersT &&value)
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector