AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeClientPropertiesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace WorkSpaces
16 {
17 namespace 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 "DescribeClientProperties"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::Vector<Aws::String>& GetResourceIds() const{ return m_resourceIds; }
42 
46  inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; }
47 
51  inline void SetResourceIds(const Aws::Vector<Aws::String>& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = value; }
52 
56  inline void SetResourceIds(Aws::Vector<Aws::String>&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::move(value); }
57 
61  inline DescribeClientPropertiesRequest& WithResourceIds(const Aws::Vector<Aws::String>& value) { SetResourceIds(value); return *this;}
62 
66  inline DescribeClientPropertiesRequest& WithResourceIds(Aws::Vector<Aws::String>&& value) { SetResourceIds(std::move(value)); return *this;}
67 
71  inline DescribeClientPropertiesRequest& AddResourceIds(const Aws::String& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
72 
76  inline DescribeClientPropertiesRequest& AddResourceIds(Aws::String&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(std::move(value)); return *this; }
77 
81  inline DescribeClientPropertiesRequest& AddResourceIds(const char* value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
82 
83  private:
84 
85  Aws::Vector<Aws::String> m_resourceIds;
86  bool m_resourceIdsHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace WorkSpaces
91 } // namespace Aws
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest
Definition: DescribeClientPropertiesRequest.h:23
Aws::WorkSpaces::WorkSpacesRequest
Definition: WorkSpacesRequest.h:17
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
WorkSpacesRequest.h
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::ResourceIdsHasBeenSet
bool ResourceIdsHasBeenSet() const
Definition: DescribeClientPropertiesRequest.h:46
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::AddResourceIds
DescribeClientPropertiesRequest & AddResourceIds(const Aws::String &value)
Definition: DescribeClientPropertiesRequest.h:71
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::WithResourceIds
DescribeClientPropertiesRequest & WithResourceIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeClientPropertiesRequest.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::DescribeClientPropertiesRequest
DescribeClientPropertiesRequest()
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::SetResourceIds
void SetResourceIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeClientPropertiesRequest.h:51
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClientPropertiesRequest.h:31
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::AddResourceIds
DescribeClientPropertiesRequest & AddResourceIds(const char *value)
Definition: DescribeClientPropertiesRequest.h:81
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::AddResourceIds
DescribeClientPropertiesRequest & AddResourceIds(Aws::String &&value)
Definition: DescribeClientPropertiesRequest.h:76
AWSString.h
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::GetResourceIds
const Aws::Vector< Aws::String > & GetResourceIds() const
Definition: DescribeClientPropertiesRequest.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::WithResourceIds
DescribeClientPropertiesRequest & WithResourceIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeClientPropertiesRequest.h:61
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::DescribeClientPropertiesRequest::SetResourceIds
void SetResourceIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeClientPropertiesRequest.h:56