AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
StartMetricsExportRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/ResilienceHubRequest.h>
10#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ResilienceHub {
16namespace Model {
17
21 public:
22 AWS_RESILIENCEHUB_API StartMetricsExportRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StartMetricsExport"; }
29
30 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetBucketName() const { return m_bucketName; }
38 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
39 template <typename BucketNameT = Aws::String>
40 void SetBucketName(BucketNameT&& value) {
41 m_bucketNameHasBeenSet = true;
42 m_bucketName = std::forward<BucketNameT>(value);
43 }
44 template <typename BucketNameT = Aws::String>
46 SetBucketName(std::forward<BucketNameT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::String& GetClientToken() const { return m_clientToken; }
58 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
59 template <typename ClientTokenT = Aws::String>
60 void SetClientToken(ClientTokenT&& value) {
61 m_clientTokenHasBeenSet = true;
62 m_clientToken = std::forward<ClientTokenT>(value);
63 }
64 template <typename ClientTokenT = Aws::String>
66 SetClientToken(std::forward<ClientTokenT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_bucketName;
72
74 bool m_bucketNameHasBeenSet = false;
75 bool m_clientTokenHasBeenSet = true;
76};
77
78} // namespace Model
79} // namespace ResilienceHub
80} // namespace Aws
StartMetricsExportRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
AWS_RESILIENCEHUB_API StartMetricsExportRequest()=default
StartMetricsExportRequest & WithBucketName(BucketNameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String