AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
WorkloadProfile.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WellArchitected
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_WELLARCHITECTED_API WorkloadProfile() = default;
35 AWS_WELLARCHITECTED_API WorkloadProfile(Aws::Utils::Json::JsonView jsonValue);
36 AWS_WELLARCHITECTED_API WorkloadProfile& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
45 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
46 template<typename ProfileArnT = Aws::String>
47 void SetProfileArn(ProfileArnT&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::forward<ProfileArnT>(value); }
48 template<typename ProfileArnT = Aws::String>
49 WorkloadProfile& WithProfileArn(ProfileArnT&& value) { SetProfileArn(std::forward<ProfileArnT>(value)); return *this;}
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) { m_profileVersionHasBeenSet = true; m_profileVersion = std::forward<ProfileVersionT>(value); }
60 template<typename ProfileVersionT = Aws::String>
61 WorkloadProfile& WithProfileVersion(ProfileVersionT&& value) { SetProfileVersion(std::forward<ProfileVersionT>(value)); return *this;}
63 private:
64
65 Aws::String m_profileArn;
66 bool m_profileArnHasBeenSet = false;
67
68 Aws::String m_profileVersion;
69 bool m_profileVersionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace WellArchitected
74} // 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