AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DisassociateApplicationsRequest.h
1
6#pragma once
7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/gameliftstreams/GameLiftStreamsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLiftStreams
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFTSTREAMS_API DisassociateApplicationsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DisassociateApplications"; }
32
33 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
34
35
37
46 inline const Aws::Vector<Aws::String>& GetApplicationIdentifiers() const { return m_applicationIdentifiers; }
47 inline bool ApplicationIdentifiersHasBeenSet() const { return m_applicationIdentifiersHasBeenSet; }
48 template<typename ApplicationIdentifiersT = Aws::Vector<Aws::String>>
49 void SetApplicationIdentifiers(ApplicationIdentifiersT&& value) { m_applicationIdentifiersHasBeenSet = true; m_applicationIdentifiers = std::forward<ApplicationIdentifiersT>(value); }
50 template<typename ApplicationIdentifiersT = Aws::Vector<Aws::String>>
51 DisassociateApplicationsRequest& WithApplicationIdentifiers(ApplicationIdentifiersT&& value) { SetApplicationIdentifiers(std::forward<ApplicationIdentifiersT>(value)); return *this;}
52 template<typename ApplicationIdentifiersT = Aws::String>
53 DisassociateApplicationsRequest& AddApplicationIdentifiers(ApplicationIdentifiersT&& value) { m_applicationIdentifiersHasBeenSet = true; m_applicationIdentifiers.emplace_back(std::forward<ApplicationIdentifiersT>(value)); return *this; }
55
57
66 inline const Aws::String& GetIdentifier() const { return m_identifier; }
67 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
68 template<typename IdentifierT = Aws::String>
69 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
70 template<typename IdentifierT = Aws::String>
71 DisassociateApplicationsRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
73 private:
74
75 Aws::Vector<Aws::String> m_applicationIdentifiers;
76 bool m_applicationIdentifiersHasBeenSet = false;
77
78 Aws::String m_identifier;
79 bool m_identifierHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace GameLiftStreams
84} // 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