AWS SDK for C++
AWS SDK for C++ Version 1.11.935
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-devops-agent
include
aws
devops-agent
model
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
13
namespace
Aws
{
14
namespace
Utils {
15
namespace
Json {
16
class
JsonValue
;
17
class
JsonView;
18
}
// namespace Json
19
}
// namespace Utils
20
namespace
DevOpsAgent {
21
namespace
Model {
22
29
class
RegisteredPagerDutyDetails
{
30
public
:
31
AWS_DEVOPSAGENT_API
RegisteredPagerDutyDetails
() =
default
;
32
AWS_DEVOPSAGENT_API
RegisteredPagerDutyDetails
(
Aws::Utils::Json::JsonView
jsonValue);
33
AWS_DEVOPSAGENT_API
RegisteredPagerDutyDetails
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
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>>
48
RegisteredPagerDutyDetails
&
WithScopes
(ScopesT&& value) {
49
SetScopes
(std::forward<ScopesT>(value));
50
return
*
this
;
51
}
52
template
<
typename
ScopesT = Aws::String>
53
RegisteredPagerDutyDetails
&
AddScopes
(ScopesT&& value) {
54
m_scopesHasBeenSet =
true
;
55
m_scopes.emplace_back(std::forward<ScopesT>(value));
56
return
*
this
;
57
}
59
private
:
60
Aws::Vector<Aws::String>
m_scopes;
61
bool
m_scopesHasBeenSet =
false
;
62
};
63
64
}
// namespace Model
65
}
// namespace DevOpsAgent
66
}
// namespace Aws
Aws::DevOpsAgent::Model::RegisteredPagerDutyDetails
Definition
RegisteredPagerDutyDetails.h:29
Aws::DevOpsAgent::Model::RegisteredPagerDutyDetails::operator=
AWS_DEVOPSAGENT_API RegisteredPagerDutyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DevOpsAgent::Model::RegisteredPagerDutyDetails::RegisteredPagerDutyDetails
AWS_DEVOPSAGENT_API RegisteredPagerDutyDetails()=default
Aws::DevOpsAgent::Model::RegisteredPagerDutyDetails::WithScopes
RegisteredPagerDutyDetails & WithScopes(ScopesT &&value)
Definition
RegisteredPagerDutyDetails.h:48
Aws::DevOpsAgent::Model::RegisteredPagerDutyDetails::ScopesHasBeenSet
bool ScopesHasBeenSet() const
Definition
RegisteredPagerDutyDetails.h:41
Aws::DevOpsAgent::Model::RegisteredPagerDutyDetails::AddScopes
RegisteredPagerDutyDetails & AddScopes(ScopesT &&value)
Definition
RegisteredPagerDutyDetails.h:53
Aws::DevOpsAgent::Model::RegisteredPagerDutyDetails::Jsonize
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::DevOpsAgent::Model::RegisteredPagerDutyDetails::GetScopes
const Aws::Vector< Aws::String > & GetScopes() const
Definition
RegisteredPagerDutyDetails.h:40
Aws::DevOpsAgent::Model::RegisteredPagerDutyDetails::RegisteredPagerDutyDetails
AWS_DEVOPSAGENT_API RegisteredPagerDutyDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::DevOpsAgent::Model::RegisteredPagerDutyDetails::SetScopes
void SetScopes(ScopesT &&value)
Definition
RegisteredPagerDutyDetails.h:43
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
smithy::client::JsonValue
Aws::Utils::Json::JsonValue JsonValue
Generated by
1.12.0
Privacy |
Site terms |
Cookie preferences