AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeUserProfilesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace OpsWorks
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 "DescribeUserProfiles"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::Vector<Aws::String>& GetIamUserArns() const{ return m_iamUserArns; }
43 
48  inline bool IamUserArnsHasBeenSet() const { return m_iamUserArnsHasBeenSet; }
49 
54  inline void SetIamUserArns(const Aws::Vector<Aws::String>& value) { m_iamUserArnsHasBeenSet = true; m_iamUserArns = value; }
55 
60  inline void SetIamUserArns(Aws::Vector<Aws::String>&& value) { m_iamUserArnsHasBeenSet = true; m_iamUserArns = std::move(value); }
61 
66  inline DescribeUserProfilesRequest& WithIamUserArns(const Aws::Vector<Aws::String>& value) { SetIamUserArns(value); return *this;}
67 
72  inline DescribeUserProfilesRequest& WithIamUserArns(Aws::Vector<Aws::String>&& value) { SetIamUserArns(std::move(value)); return *this;}
73 
78  inline DescribeUserProfilesRequest& AddIamUserArns(const Aws::String& value) { m_iamUserArnsHasBeenSet = true; m_iamUserArns.push_back(value); return *this; }
79 
84  inline DescribeUserProfilesRequest& AddIamUserArns(Aws::String&& value) { m_iamUserArnsHasBeenSet = true; m_iamUserArns.push_back(std::move(value)); return *this; }
85 
90  inline DescribeUserProfilesRequest& AddIamUserArns(const char* value) { m_iamUserArnsHasBeenSet = true; m_iamUserArns.push_back(value); return *this; }
91 
92  private:
93 
94  Aws::Vector<Aws::String> m_iamUserArns;
95  bool m_iamUserArnsHasBeenSet;
96  };
97 
98 } // namespace Model
99 } // namespace OpsWorks
100 } // namespace Aws
Aws::OpsWorks::Model::DescribeUserProfilesRequest::GetIamUserArns
const Aws::Vector< Aws::String > & GetIamUserArns() const
Definition: DescribeUserProfilesRequest.h:42
Aws::OpsWorks::Model::DescribeUserProfilesRequest::IamUserArnsHasBeenSet
bool IamUserArnsHasBeenSet() const
Definition: DescribeUserProfilesRequest.h:48
Aws::OpsWorks::Model::DescribeUserProfilesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::OpsWorks::Model::DescribeUserProfilesRequest::SerializePayload
Aws::String SerializePayload() const override
OpsWorks_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::DescribeUserProfilesRequest::AddIamUserArns
DescribeUserProfilesRequest & AddIamUserArns(const Aws::String &value)
Definition: DescribeUserProfilesRequest.h:78
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
OpsWorksRequest.h
Aws::OpsWorks::Model::DescribeUserProfilesRequest::SetIamUserArns
void SetIamUserArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeUserProfilesRequest.h:54
Aws::OpsWorks::Model::DescribeUserProfilesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeUserProfilesRequest.h:31
AWSString.h
Aws::OpsWorks::Model::DescribeUserProfilesRequest::WithIamUserArns
DescribeUserProfilesRequest & WithIamUserArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeUserProfilesRequest.h:66
Aws::OpsWorks::Model::DescribeUserProfilesRequest
Definition: DescribeUserProfilesRequest.h:23
Aws::OpsWorks::Model::DescribeUserProfilesRequest::SetIamUserArns
void SetIamUserArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeUserProfilesRequest.h:60
Aws::OpsWorks::Model::DescribeUserProfilesRequest::AddIamUserArns
DescribeUserProfilesRequest & AddIamUserArns(Aws::String &&value)
Definition: DescribeUserProfilesRequest.h:84
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeUserProfilesRequest::AddIamUserArns
DescribeUserProfilesRequest & AddIamUserArns(const char *value)
Definition: DescribeUserProfilesRequest.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::DescribeUserProfilesRequest::DescribeUserProfilesRequest
DescribeUserProfilesRequest()
Aws::OpsWorks::Model::DescribeUserProfilesRequest::WithIamUserArns
DescribeUserProfilesRequest & WithIamUserArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeUserProfilesRequest.h:72