AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMilestoneRequest.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
26 {
27 public:
28 AWS_WELLARCHITECTED_API CreateMilestoneRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateMilestone"; }
35
36 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
37
38
40
41 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
42 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
43 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
44 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
45 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
46 inline CreateMilestoneRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
47 inline CreateMilestoneRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
48 inline CreateMilestoneRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
50
52
53 inline const Aws::String& GetMilestoneName() const{ return m_milestoneName; }
54 inline bool MilestoneNameHasBeenSet() const { return m_milestoneNameHasBeenSet; }
55 inline void SetMilestoneName(const Aws::String& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = value; }
56 inline void SetMilestoneName(Aws::String&& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = std::move(value); }
57 inline void SetMilestoneName(const char* value) { m_milestoneNameHasBeenSet = true; m_milestoneName.assign(value); }
58 inline CreateMilestoneRequest& WithMilestoneName(const Aws::String& value) { SetMilestoneName(value); return *this;}
59 inline CreateMilestoneRequest& WithMilestoneName(Aws::String&& value) { SetMilestoneName(std::move(value)); return *this;}
60 inline CreateMilestoneRequest& WithMilestoneName(const char* value) { SetMilestoneName(value); return *this;}
62
64
65 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
66 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
67 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
68 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
69 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
71 inline CreateMilestoneRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
72 inline CreateMilestoneRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
74 private:
75
76 Aws::String m_workloadId;
77 bool m_workloadIdHasBeenSet = false;
78
79 Aws::String m_milestoneName;
80 bool m_milestoneNameHasBeenSet = false;
81
82 Aws::String m_clientRequestToken;
83 bool m_clientRequestTokenHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace WellArchitected
88} // namespace Aws
CreateMilestoneRequest & WithMilestoneName(const char *value)
CreateMilestoneRequest & WithWorkloadId(Aws::String &&value)
CreateMilestoneRequest & WithWorkloadId(const Aws::String &value)
CreateMilestoneRequest & WithWorkloadId(const char *value)
CreateMilestoneRequest & WithClientRequestToken(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
CreateMilestoneRequest & WithClientRequestToken(const char *value)
CreateMilestoneRequest & WithMilestoneName(Aws::String &&value)
CreateMilestoneRequest & WithMilestoneName(const Aws::String &value)
CreateMilestoneRequest & WithClientRequestToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String