AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
RegisteredPagerDutyDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.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 RegisteredPagerDutyDetails() = default;
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetScopes() const { return m_scopes; }
41 inline bool ScopesHasBeenSet() const { return m_scopesHasBeenSet; }
42 template <typename ScopesT = Aws::Vector<Aws::String>>
43 void SetScopes(ScopesT&& value) {
44 m_scopesHasBeenSet = true;
45 m_scopes = std::forward<ScopesT>(value);
46 }
47 template <typename ScopesT = Aws::Vector<Aws::String>>
49 SetScopes(std::forward<ScopesT>(value));
50 return *this;
51 }
52 template <typename ScopesT = Aws::String>
54 m_scopesHasBeenSet = true;
55 m_scopes.emplace_back(std::forward<ScopesT>(value));
56 return *this;
57 }
59 private:
61 bool m_scopesHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace DevOpsAgent
66} // namespace Aws
AWS_DEVOPSAGENT_API RegisteredPagerDutyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API RegisteredPagerDutyDetails()=default
RegisteredPagerDutyDetails & WithScopes(ScopesT &&value)
RegisteredPagerDutyDetails & AddScopes(ScopesT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetScopes() const
AWS_DEVOPSAGENT_API RegisteredPagerDutyDetails(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue