AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateIntegrationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/WellArchitectedRequest.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11#include <aws/wellarchitected/model/IntegratingService.h>
12
13#include <utility>
14
15namespace Aws {
16namespace WellArchitected {
17namespace Model {
18
22 public:
23 AWS_WELLARCHITECTED_API UpdateIntegrationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateIntegration"; }
30
31 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
32
34
35 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
36 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
37 template <typename WorkloadIdT = Aws::String>
38 void SetWorkloadId(WorkloadIdT&& value) {
39 m_workloadIdHasBeenSet = true;
40 m_workloadId = std::forward<WorkloadIdT>(value);
41 }
42 template <typename WorkloadIdT = Aws::String>
44 SetWorkloadId(std::forward<WorkloadIdT>(value));
45 return *this;
46 }
48
50
51 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
52 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
53 template <typename ClientRequestTokenT = Aws::String>
54 void SetClientRequestToken(ClientRequestTokenT&& value) {
55 m_clientRequestTokenHasBeenSet = true;
56 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
57 }
58 template <typename ClientRequestTokenT = Aws::String>
59 UpdateIntegrationRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
60 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
61 return *this;
62 }
64
66
69 inline IntegratingService GetIntegratingService() const { return m_integratingService; }
70 inline bool IntegratingServiceHasBeenSet() const { return m_integratingServiceHasBeenSet; }
72 m_integratingServiceHasBeenSet = true;
73 m_integratingService = value;
74 }
77 return *this;
78 }
80 private:
81 Aws::String m_workloadId;
82
83 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
84
86 bool m_workloadIdHasBeenSet = false;
87 bool m_clientRequestTokenHasBeenSet = true;
88 bool m_integratingServiceHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace WellArchitected
93} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API UpdateIntegrationRequest()=default
UpdateIntegrationRequest & WithWorkloadId(WorkloadIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateIntegrationRequest & WithIntegratingService(IntegratingService value)
UpdateIntegrationRequest & WithClientRequestToken(ClientRequestTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String