AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
GetResourceCollectionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuruRequest.h>
9#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
10#include <aws/devops-guru/model/ResourceCollectionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace DevOpsGuru {
19namespace Model {
20
24 public:
25 AWS_DEVOPSGURU_API GetResourceCollectionRequest() = default;
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 "GetResourceCollection"; }
32
33 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
34
35 AWS_DEVOPSGURU_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
43 inline ResourceCollectionType GetResourceCollectionType() const { return m_resourceCollectionType; }
44 inline bool ResourceCollectionTypeHasBeenSet() const { return m_resourceCollectionTypeHasBeenSet; }
46 m_resourceCollectionTypeHasBeenSet = true;
47 m_resourceCollectionType = value;
48 }
51 return *this;
52 }
54
56
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 template <typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) {
64 m_nextTokenHasBeenSet = true;
65 m_nextToken = std::forward<NextTokenT>(value);
66 }
67 template <typename NextTokenT = Aws::String>
69 SetNextToken(std::forward<NextTokenT>(value));
70 return *this;
71 }
73 private:
75
76 Aws::String m_nextToken;
77 bool m_resourceCollectionTypeHasBeenSet = false;
78 bool m_nextTokenHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace DevOpsGuru
83} // namespace Aws
GetResourceCollectionRequest & WithResourceCollectionType(ResourceCollectionType value)
GetResourceCollectionRequest & WithNextToken(NextTokenT &&value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
AWS_DEVOPSGURU_API GetResourceCollectionRequest()=default
AWS_DEVOPSGURU_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String