AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename NextTokenT = Aws::String>
67 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
68 template<typename NextTokenT = Aws::String>
69 ListProfileAssociationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
71
73
76 inline const Aws::String& GetProfileId() const { return m_profileId; }
77 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
78 template<typename ProfileIdT = Aws::String>
79 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
80 template<typename ProfileIdT = Aws::String>
81 ListProfileAssociationsRequest& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
83
85
88 inline const Aws::String& GetResourceId() const { return m_resourceId; }
89 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
90 template<typename ResourceIdT = Aws::String>
91 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
92 template<typename ResourceIdT = Aws::String>
93 ListProfileAssociationsRequest& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
95 private:
96
97 int m_maxResults{0};
98 bool m_maxResultsHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102
103 Aws::String m_profileId;
104 bool m_profileIdHasBeenSet = false;
105
106 Aws::String m_resourceId;
107 bool m_resourceIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Route53Profiles
112} // namespace Aws
AWS_ROUTE53PROFILES_API Aws::String SerializePayload() const override
AWS_ROUTE53PROFILES_API ListProfileAssociationsRequest()=default
ListProfileAssociationsRequest & WithProfileId(ProfileIdT &&value)
AWS_ROUTE53PROFILES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProfileAssociationsRequest & WithResourceId(ResourceIdT &&value)
ListProfileAssociationsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String