AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssociateApplicationsRequest.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 AssociateApplicationsRequest() = 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 "AssociateApplications"; }
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 AssociateApplicationsRequest& WithApplicationIdentifiers(ApplicationIdentifiersT&& value) { SetApplicationIdentifiers(std::forward<ApplicationIdentifiersT>(value)); return *this;}
52 template<typename ApplicationIdentifiersT = Aws::String>
53 AssociateApplicationsRequest& AddApplicationIdentifiers(ApplicationIdentifiersT&& value) { m_applicationIdentifiersHasBeenSet = true; m_applicationIdentifiers.emplace_back(std::forward<ApplicationIdentifiersT>(value)); return *this; }
55
57
65 inline const Aws::String& GetIdentifier() const { return m_identifier; }
66 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
67 template<typename IdentifierT = Aws::String>
68 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
69 template<typename IdentifierT = Aws::String>
70 AssociateApplicationsRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
72 private:
73
74 Aws::Vector<Aws::String> m_applicationIdentifiers;
75 bool m_applicationIdentifiersHasBeenSet = false;
76
77 Aws::String m_identifier;
78 bool m_identifierHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace GameLiftStreams
83} // 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