AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
RegisteredNewRelicDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9#include <aws/devops-agent/model/NewRelicRegion.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
30 public:
31 AWS_DEVOPSAGENT_API RegisteredNewRelicDetails() = default;
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template <typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) {
44 m_accountIdHasBeenSet = true;
45 m_accountId = std::forward<AccountIdT>(value);
46 }
47 template <typename AccountIdT = Aws::String>
49 SetAccountId(std::forward<AccountIdT>(value));
50 return *this;
51 }
53
55
58 inline NewRelicRegion GetRegion() const { return m_region; }
59 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
60 inline void SetRegion(NewRelicRegion value) {
61 m_regionHasBeenSet = true;
62 m_region = value;
63 }
65 SetRegion(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_accountId;
89
91
92 Aws::String m_description;
93 bool m_accountIdHasBeenSet = false;
94 bool m_regionHasBeenSet = false;
95 bool m_descriptionHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DevOpsAgent
100} // namespace Aws
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
RegisteredNewRelicDetails & WithAccountId(AccountIdT &&value)
AWS_DEVOPSAGENT_API RegisteredNewRelicDetails(Aws::Utils::Json::JsonView jsonValue)
RegisteredNewRelicDetails & WithDescription(DescriptionT &&value)
AWS_DEVOPSAGENT_API RegisteredNewRelicDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API RegisteredNewRelicDetails()=default
RegisteredNewRelicDetails & WithRegion(NewRelicRegion value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue