AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
GetSubscriptionDefinitionVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrass/GreengrassRequest.h>
9#include <aws/greengrass/Greengrass_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Greengrass {
18namespace Model {
19
23 public:
24 AWS_GREENGRASS_API GetSubscriptionDefinitionVersionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetSubscriptionDefinitionVersion"; }
31
32 AWS_GREENGRASS_API Aws::String SerializePayload() const override;
33
34 AWS_GREENGRASS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetNextToken() const { return m_nextToken; }
42 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
43 template <typename NextTokenT = Aws::String>
44 void SetNextToken(NextTokenT&& value) {
45 m_nextTokenHasBeenSet = true;
46 m_nextToken = std::forward<NextTokenT>(value);
47 }
48 template <typename NextTokenT = Aws::String>
50 SetNextToken(std::forward<NextTokenT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetSubscriptionDefinitionId() const { return m_subscriptionDefinitionId; }
60 inline bool SubscriptionDefinitionIdHasBeenSet() const { return m_subscriptionDefinitionIdHasBeenSet; }
61 template <typename SubscriptionDefinitionIdT = Aws::String>
62 void SetSubscriptionDefinitionId(SubscriptionDefinitionIdT&& value) {
63 m_subscriptionDefinitionIdHasBeenSet = true;
64 m_subscriptionDefinitionId = std::forward<SubscriptionDefinitionIdT>(value);
65 }
66 template <typename SubscriptionDefinitionIdT = Aws::String>
68 SetSubscriptionDefinitionId(std::forward<SubscriptionDefinitionIdT>(value));
69 return *this;
70 }
72
74
82 inline const Aws::String& GetSubscriptionDefinitionVersionId() const { return m_subscriptionDefinitionVersionId; }
83 inline bool SubscriptionDefinitionVersionIdHasBeenSet() const { return m_subscriptionDefinitionVersionIdHasBeenSet; }
84 template <typename SubscriptionDefinitionVersionIdT = Aws::String>
85 void SetSubscriptionDefinitionVersionId(SubscriptionDefinitionVersionIdT&& value) {
86 m_subscriptionDefinitionVersionIdHasBeenSet = true;
87 m_subscriptionDefinitionVersionId = std::forward<SubscriptionDefinitionVersionIdT>(value);
88 }
89 template <typename SubscriptionDefinitionVersionIdT = Aws::String>
91 SetSubscriptionDefinitionVersionId(std::forward<SubscriptionDefinitionVersionIdT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 Aws::String m_subscriptionDefinitionId;
100 bool m_subscriptionDefinitionIdHasBeenSet = false;
101
102 Aws::String m_subscriptionDefinitionVersionId;
103 bool m_subscriptionDefinitionVersionIdHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace Greengrass
108} // namespace Aws
AWS_GREENGRASS_API Aws::String SerializePayload() const override
AWS_GREENGRASS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetSubscriptionDefinitionVersionRequest & WithNextToken(NextTokenT &&value)
GetSubscriptionDefinitionVersionRequest & WithSubscriptionDefinitionVersionId(SubscriptionDefinitionVersionIdT &&value)
GetSubscriptionDefinitionVersionRequest & WithSubscriptionDefinitionId(SubscriptionDefinitionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String