AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProfileRequest.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 <aws/wellarchitected/model/ProfileQuestionUpdate.h>
12#include <utility>
13
14namespace Aws
15{
16namespace WellArchitected
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_WELLARCHITECTED_API UpdateProfileRequest();
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 "UpdateProfile"; }
33
34 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
42 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
43 inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
44 inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
45 inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
46 inline UpdateProfileRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
47 inline UpdateProfileRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
48 inline UpdateProfileRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
50
52
55 inline const Aws::String& GetProfileDescription() const{ return m_profileDescription; }
56 inline bool ProfileDescriptionHasBeenSet() const { return m_profileDescriptionHasBeenSet; }
57 inline void SetProfileDescription(const Aws::String& value) { m_profileDescriptionHasBeenSet = true; m_profileDescription = value; }
58 inline void SetProfileDescription(Aws::String&& value) { m_profileDescriptionHasBeenSet = true; m_profileDescription = std::move(value); }
59 inline void SetProfileDescription(const char* value) { m_profileDescriptionHasBeenSet = true; m_profileDescription.assign(value); }
61 inline UpdateProfileRequest& WithProfileDescription(Aws::String&& value) { SetProfileDescription(std::move(value)); return *this;}
62 inline UpdateProfileRequest& WithProfileDescription(const char* value) { SetProfileDescription(value); return *this;}
64
66
69 inline const Aws::Vector<ProfileQuestionUpdate>& GetProfileQuestions() const{ return m_profileQuestions; }
70 inline bool ProfileQuestionsHasBeenSet() const { return m_profileQuestionsHasBeenSet; }
71 inline void SetProfileQuestions(const Aws::Vector<ProfileQuestionUpdate>& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions = value; }
72 inline void SetProfileQuestions(Aws::Vector<ProfileQuestionUpdate>&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions = std::move(value); }
75 inline UpdateProfileRequest& AddProfileQuestions(const ProfileQuestionUpdate& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions.push_back(value); return *this; }
76 inline UpdateProfileRequest& AddProfileQuestions(ProfileQuestionUpdate&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions.push_back(std::move(value)); return *this; }
78 private:
79
80 Aws::String m_profileArn;
81 bool m_profileArnHasBeenSet = false;
82
83 Aws::String m_profileDescription;
84 bool m_profileDescriptionHasBeenSet = false;
85
86 Aws::Vector<ProfileQuestionUpdate> m_profileQuestions;
87 bool m_profileQuestionsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace WellArchitected
92} // namespace Aws
UpdateProfileRequest & AddProfileQuestions(ProfileQuestionUpdate &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
UpdateProfileRequest & WithProfileDescription(const char *value)
void SetProfileQuestions(const Aws::Vector< ProfileQuestionUpdate > &value)
UpdateProfileRequest & AddProfileQuestions(const ProfileQuestionUpdate &value)
UpdateProfileRequest & WithProfileArn(const char *value)
const Aws::Vector< ProfileQuestionUpdate > & GetProfileQuestions() const
UpdateProfileRequest & WithProfileDescription(const Aws::String &value)
UpdateProfileRequest & WithProfileQuestions(const Aws::Vector< ProfileQuestionUpdate > &value)
UpdateProfileRequest & WithProfileArn(const Aws::String &value)
UpdateProfileRequest & WithProfileArn(Aws::String &&value)
UpdateProfileRequest & WithProfileDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateProfileRequest & WithProfileQuestions(Aws::Vector< ProfileQuestionUpdate > &&value)
void SetProfileQuestions(Aws::Vector< ProfileQuestionUpdate > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector