AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
StartFailureModeAssessmentRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
10#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace resiliencehubv2 {
16namespace Model {
17
21 public:
22 AWS_RESILIENCEHUBV2_API StartFailureModeAssessmentRequest() = 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 "StartFailureModeAssessment"; }
29
30 AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override;
31
33
34 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
35 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
36 template <typename ServiceArnT = Aws::String>
37 void SetServiceArn(ServiceArnT&& value) {
38 m_serviceArnHasBeenSet = true;
39 m_serviceArn = std::forward<ServiceArnT>(value);
40 }
41 template <typename ServiceArnT = Aws::String>
43 SetServiceArn(std::forward<ServiceArnT>(value));
44 return *this;
45 }
47
49
50 inline const Aws::String& GetClientToken() const { return m_clientToken; }
51 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
52 template <typename ClientTokenT = Aws::String>
53 void SetClientToken(ClientTokenT&& value) {
54 m_clientTokenHasBeenSet = true;
55 m_clientToken = std::forward<ClientTokenT>(value);
56 }
57 template <typename ClientTokenT = Aws::String>
59 SetClientToken(std::forward<ClientTokenT>(value));
60 return *this;
61 }
63 private:
64 Aws::String m_serviceArn;
65
67 bool m_serviceArnHasBeenSet = false;
68 bool m_clientTokenHasBeenSet = true;
69};
70
71} // namespace Model
72} // namespace resiliencehubv2
73} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
AWS_RESILIENCEHUBV2_API StartFailureModeAssessmentRequest()=default
StartFailureModeAssessmentRequest & WithServiceArn(ServiceArnT &&value)
StartFailureModeAssessmentRequest & WithClientToken(ClientTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String