AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
WorkloadProfile.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WellArchitected {
20namespace Model {
21
28 public:
29 AWS_WELLARCHITECTED_API WorkloadProfile() = default;
30 AWS_WELLARCHITECTED_API WorkloadProfile(Aws::Utils::Json::JsonView jsonValue);
31 AWS_WELLARCHITECTED_API WorkloadProfile& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
39 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
40 template <typename ProfileArnT = Aws::String>
41 void SetProfileArn(ProfileArnT&& value) {
42 m_profileArnHasBeenSet = true;
43 m_profileArn = std::forward<ProfileArnT>(value);
44 }
45 template <typename ProfileArnT = Aws::String>
46 WorkloadProfile& WithProfileArn(ProfileArnT&& value) {
47 SetProfileArn(std::forward<ProfileArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
57 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
58 template <typename ProfileVersionT = Aws::String>
59 void SetProfileVersion(ProfileVersionT&& value) {
60 m_profileVersionHasBeenSet = true;
61 m_profileVersion = std::forward<ProfileVersionT>(value);
62 }
63 template <typename ProfileVersionT = Aws::String>
64 WorkloadProfile& WithProfileVersion(ProfileVersionT&& value) {
65 SetProfileVersion(std::forward<ProfileVersionT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_profileArn;
71
72 Aws::String m_profileVersion;
73 bool m_profileArnHasBeenSet = false;
74 bool m_profileVersionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace WellArchitected
79} // namespace Aws
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
WorkloadProfile & WithProfileArn(ProfileArnT &&value)
AWS_WELLARCHITECTED_API WorkloadProfile()=default
const Aws::String & GetProfileVersion() const
void SetProfileVersion(ProfileVersionT &&value)
AWS_WELLARCHITECTED_API WorkloadProfile(Aws::Utils::Json::JsonView jsonValue)
WorkloadProfile & WithProfileVersion(ProfileVersionT &&value)
AWS_WELLARCHITECTED_API WorkloadProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue