AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 template<typename ProfileArnT = Aws::String>
44 void SetProfileArn(ProfileArnT&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::forward<ProfileArnT>(value); }
45 template<typename ProfileArnT = Aws::String>
46 UpdateProfileRequest& WithProfileArn(ProfileArnT&& value) { SetProfileArn(std::forward<ProfileArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetProfileDescription() const { return m_profileDescription; }
54 inline bool ProfileDescriptionHasBeenSet() const { return m_profileDescriptionHasBeenSet; }
55 template<typename ProfileDescriptionT = Aws::String>
56 void SetProfileDescription(ProfileDescriptionT&& value) { m_profileDescriptionHasBeenSet = true; m_profileDescription = std::forward<ProfileDescriptionT>(value); }
57 template<typename ProfileDescriptionT = Aws::String>
58 UpdateProfileRequest& WithProfileDescription(ProfileDescriptionT&& value) { SetProfileDescription(std::forward<ProfileDescriptionT>(value)); return *this;}
60
62
65 inline const Aws::Vector<ProfileQuestionUpdate>& GetProfileQuestions() const { return m_profileQuestions; }
66 inline bool ProfileQuestionsHasBeenSet() const { return m_profileQuestionsHasBeenSet; }
67 template<typename ProfileQuestionsT = Aws::Vector<ProfileQuestionUpdate>>
68 void SetProfileQuestions(ProfileQuestionsT&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions = std::forward<ProfileQuestionsT>(value); }
69 template<typename ProfileQuestionsT = Aws::Vector<ProfileQuestionUpdate>>
70 UpdateProfileRequest& WithProfileQuestions(ProfileQuestionsT&& value) { SetProfileQuestions(std::forward<ProfileQuestionsT>(value)); return *this;}
71 template<typename ProfileQuestionsT = ProfileQuestionUpdate>
72 UpdateProfileRequest& AddProfileQuestions(ProfileQuestionsT&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions.emplace_back(std::forward<ProfileQuestionsT>(value)); return *this; }
74 private:
75
76 Aws::String m_profileArn;
77 bool m_profileArnHasBeenSet = false;
78
79 Aws::String m_profileDescription;
80 bool m_profileDescriptionHasBeenSet = false;
81
82 Aws::Vector<ProfileQuestionUpdate> m_profileQuestions;
83 bool m_profileQuestionsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace WellArchitected
88} // namespace Aws
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
UpdateProfileRequest & WithProfileDescription(ProfileDescriptionT &&value)
AWS_WELLARCHITECTED_API UpdateProfileRequest()=default
const Aws::Vector< ProfileQuestionUpdate > & GetProfileQuestions() const
void SetProfileDescription(ProfileDescriptionT &&value)
UpdateProfileRequest & AddProfileQuestions(ProfileQuestionsT &&value)
UpdateProfileRequest & WithProfileArn(ProfileArnT &&value)
UpdateProfileRequest & WithProfileQuestions(ProfileQuestionsT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector