AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListProfileAssociationsRequest.h
1
6#pragma once
7#include <aws/route53profiles/Route53Profiles_EXPORTS.h>
8#include <aws/route53profiles/Route53ProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Route53Profiles
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_ROUTE53PROFILES_API ListProfileAssociationsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListProfileAssociations"; }
35
36 AWS_ROUTE53PROFILES_API Aws::String SerializePayload() const override;
37
38 AWS_ROUTE53PROFILES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
49 inline int GetMaxResults() const{ return m_maxResults; }
50 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
51 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
52 inline ListProfileAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
54
56
64 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
65 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
69 inline ListProfileAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListProfileAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListProfileAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
78 inline const Aws::String& GetProfileId() const{ return m_profileId; }
79 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
80 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
81 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
82 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
83 inline ListProfileAssociationsRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
84 inline ListProfileAssociationsRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
85 inline ListProfileAssociationsRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;}
87
89
92 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
93 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
94 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
95 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
96 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
97 inline ListProfileAssociationsRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
98 inline ListProfileAssociationsRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
99 inline ListProfileAssociationsRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
101 private:
102
103 int m_maxResults;
104 bool m_maxResultsHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 Aws::String m_profileId;
110 bool m_profileIdHasBeenSet = false;
111
112 Aws::String m_resourceId;
113 bool m_resourceIdHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Route53Profiles
118} // namespace Aws
ListProfileAssociationsRequest & WithResourceId(const char *value)
ListProfileAssociationsRequest & WithProfileId(Aws::String &&value)
ListProfileAssociationsRequest & WithProfileId(const Aws::String &value)
AWS_ROUTE53PROFILES_API Aws::String SerializePayload() const override
ListProfileAssociationsRequest & WithResourceId(const Aws::String &value)
ListProfileAssociationsRequest & WithNextToken(Aws::String &&value)
ListProfileAssociationsRequest & WithNextToken(const char *value)
ListProfileAssociationsRequest & WithProfileId(const char *value)
ListProfileAssociationsRequest & WithResourceId(Aws::String &&value)
ListProfileAssociationsRequest & WithNextToken(const Aws::String &value)
AWS_ROUTE53PROFILES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String