AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
BatchDisassociateUserStackRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace AppStream
16{
17namespace Model
18{
19
23 {
24 public:
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 "BatchDisassociateUserStack"; }
32
34
36
37
41 inline const Aws::Vector<UserStackAssociation>& GetUserStackAssociations() const{ return m_userStackAssociations; }
42
46 inline bool UserStackAssociationsHasBeenSet() const { return m_userStackAssociationsHasBeenSet; }
47
51 inline void SetUserStackAssociations(const Aws::Vector<UserStackAssociation>& value) { m_userStackAssociationsHasBeenSet = true; m_userStackAssociations = value; }
52
56 inline void SetUserStackAssociations(Aws::Vector<UserStackAssociation>&& value) { m_userStackAssociationsHasBeenSet = true; m_userStackAssociations = std::move(value); }
57
62
67
71 inline BatchDisassociateUserStackRequest& AddUserStackAssociations(const UserStackAssociation& value) { m_userStackAssociationsHasBeenSet = true; m_userStackAssociations.push_back(value); return *this; }
72
76 inline BatchDisassociateUserStackRequest& AddUserStackAssociations(UserStackAssociation&& value) { m_userStackAssociationsHasBeenSet = true; m_userStackAssociations.push_back(std::move(value)); return *this; }
77
78 private:
79
80 Aws::Vector<UserStackAssociation> m_userStackAssociations;
81 bool m_userStackAssociationsHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace AppStream
86} // namespace Aws
#define AWS_APPSTREAM_API
void SetUserStackAssociations(const Aws::Vector< UserStackAssociation > &value)
BatchDisassociateUserStackRequest & WithUserStackAssociations(const Aws::Vector< UserStackAssociation > &value)
void SetUserStackAssociations(Aws::Vector< UserStackAssociation > &&value)
BatchDisassociateUserStackRequest & WithUserStackAssociations(Aws::Vector< UserStackAssociation > &&value)
BatchDisassociateUserStackRequest & AddUserStackAssociations(const UserStackAssociation &value)
BatchDisassociateUserStackRequest & AddUserStackAssociations(UserStackAssociation &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPSTREAM_API Aws::String SerializePayload() const override
const Aws::Vector< UserStackAssociation > & GetUserStackAssociations() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector