AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpgradeProfileVersionRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace WellArchitected
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WELLARCHITECTED_API UpgradeProfileVersionRequest();
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 "UpgradeProfileVersion"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
35
37
38 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
39 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
40 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
41 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
42 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
43 inline UpgradeProfileVersionRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
44 inline UpgradeProfileVersionRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
45 inline UpgradeProfileVersionRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
47
49
52 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
53 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
54 inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
55 inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
56 inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
57 inline UpgradeProfileVersionRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
58 inline UpgradeProfileVersionRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
59 inline UpgradeProfileVersionRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
61
63
64 inline const Aws::String& GetMilestoneName() const{ return m_milestoneName; }
65 inline bool MilestoneNameHasBeenSet() const { return m_milestoneNameHasBeenSet; }
66 inline void SetMilestoneName(const Aws::String& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = value; }
67 inline void SetMilestoneName(Aws::String&& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = std::move(value); }
68 inline void SetMilestoneName(const char* value) { m_milestoneNameHasBeenSet = true; m_milestoneName.assign(value); }
69 inline UpgradeProfileVersionRequest& WithMilestoneName(const Aws::String& value) { SetMilestoneName(value); return *this;}
70 inline UpgradeProfileVersionRequest& WithMilestoneName(Aws::String&& value) { SetMilestoneName(std::move(value)); return *this;}
71 inline UpgradeProfileVersionRequest& WithMilestoneName(const char* value) { SetMilestoneName(value); return *this;}
73
75
76 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
77 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
78 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
79 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
80 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
82 inline UpgradeProfileVersionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
83 inline UpgradeProfileVersionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
85 private:
86
87 Aws::String m_workloadId;
88 bool m_workloadIdHasBeenSet = false;
89
90 Aws::String m_profileArn;
91 bool m_profileArnHasBeenSet = false;
92
93 Aws::String m_milestoneName;
94 bool m_milestoneNameHasBeenSet = false;
95
96 Aws::String m_clientRequestToken;
97 bool m_clientRequestTokenHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace WellArchitected
102} // namespace Aws
UpgradeProfileVersionRequest & WithClientRequestToken(const Aws::String &value)
UpgradeProfileVersionRequest & WithWorkloadId(const char *value)
UpgradeProfileVersionRequest & WithProfileArn(Aws::String &&value)
UpgradeProfileVersionRequest & WithProfileArn(const char *value)
UpgradeProfileVersionRequest & WithMilestoneName(Aws::String &&value)
UpgradeProfileVersionRequest & WithClientRequestToken(const char *value)
UpgradeProfileVersionRequest & WithMilestoneName(const char *value)
UpgradeProfileVersionRequest & WithWorkloadId(Aws::String &&value)
UpgradeProfileVersionRequest & WithWorkloadId(const Aws::String &value)
UpgradeProfileVersionRequest & WithProfileArn(const Aws::String &value)
UpgradeProfileVersionRequest & WithMilestoneName(const Aws::String &value)
UpgradeProfileVersionRequest & WithClientRequestToken(Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String