AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateIntegrationRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wellarchitected/model/IntegratingService.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace WellArchitected
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_WELLARCHITECTED_API UpdateIntegrationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateIntegration"; }
33
34 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
35
36
38
39 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
40 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
41 template<typename WorkloadIdT = Aws::String>
42 void SetWorkloadId(WorkloadIdT&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::forward<WorkloadIdT>(value); }
43 template<typename WorkloadIdT = Aws::String>
44 UpdateIntegrationRequest& WithWorkloadId(WorkloadIdT&& value) { SetWorkloadId(std::forward<WorkloadIdT>(value)); return *this;}
46
48
49 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
50 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
51 template<typename ClientRequestTokenT = Aws::String>
52 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
53 template<typename ClientRequestTokenT = Aws::String>
54 UpdateIntegrationRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
56
58
61 inline IntegratingService GetIntegratingService() const { return m_integratingService; }
62 inline bool IntegratingServiceHasBeenSet() const { return m_integratingServiceHasBeenSet; }
63 inline void SetIntegratingService(IntegratingService value) { m_integratingServiceHasBeenSet = true; m_integratingService = value; }
66 private:
67
68 Aws::String m_workloadId;
69 bool m_workloadIdHasBeenSet = false;
70
71 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
72 bool m_clientRequestTokenHasBeenSet = true;
73
75 bool m_integratingServiceHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace WellArchitected
80} // 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