AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateProfilesRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WellArchitected
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WELLARCHITECTED_API AssociateProfilesRequest();
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 "AssociateProfiles"; }
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 AssociateProfilesRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
44 inline AssociateProfilesRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
45 inline AssociateProfilesRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
47
49
52 inline const Aws::Vector<Aws::String>& GetProfileArns() const{ return m_profileArns; }
53 inline bool ProfileArnsHasBeenSet() const { return m_profileArnsHasBeenSet; }
54 inline void SetProfileArns(const Aws::Vector<Aws::String>& value) { m_profileArnsHasBeenSet = true; m_profileArns = value; }
55 inline void SetProfileArns(Aws::Vector<Aws::String>&& value) { m_profileArnsHasBeenSet = true; m_profileArns = std::move(value); }
57 inline AssociateProfilesRequest& WithProfileArns(Aws::Vector<Aws::String>&& value) { SetProfileArns(std::move(value)); return *this;}
58 inline AssociateProfilesRequest& AddProfileArns(const Aws::String& value) { m_profileArnsHasBeenSet = true; m_profileArns.push_back(value); return *this; }
59 inline AssociateProfilesRequest& AddProfileArns(Aws::String&& value) { m_profileArnsHasBeenSet = true; m_profileArns.push_back(std::move(value)); return *this; }
60 inline AssociateProfilesRequest& AddProfileArns(const char* value) { m_profileArnsHasBeenSet = true; m_profileArns.push_back(value); return *this; }
62 private:
63
64 Aws::String m_workloadId;
65 bool m_workloadIdHasBeenSet = false;
66
67 Aws::Vector<Aws::String> m_profileArns;
68 bool m_profileArnsHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace WellArchitected
73} // namespace Aws
AssociateProfilesRequest & AddProfileArns(Aws::String &&value)
AssociateProfilesRequest & WithWorkloadId(const char *value)
const Aws::Vector< Aws::String > & GetProfileArns() const
AssociateProfilesRequest & WithWorkloadId(const Aws::String &value)
AssociateProfilesRequest & WithWorkloadId(Aws::String &&value)
AssociateProfilesRequest & AddProfileArns(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetProfileArns(const Aws::Vector< Aws::String > &value)
AssociateProfilesRequest & WithProfileArns(Aws::Vector< Aws::String > &&value)
void SetProfileArns(Aws::Vector< Aws::String > &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AssociateProfilesRequest & WithProfileArns(const Aws::Vector< Aws::String > &value)
AssociateProfilesRequest & AddProfileArns(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector