AWS SDK for C++
AWS SDK for C++ Version 1.11.440
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-ssm-contacts
include
aws
ssm-contacts
model
TimeRange.h
1
6
#pragma once
7
#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8
#include <aws/core/utils/DateTime.h>
9
#include <utility>
10
11
namespace
Aws
12
{
13
namespace
Utils
14
{
15
namespace
Json
16
{
17
class
JsonValue
;
18
class
JsonView;
19
}
// namespace Json
20
}
// namespace Utils
21
namespace
SSMContacts
22
{
23
namespace
Model
24
{
25
31
class
TimeRange
32
{
33
public
:
34
AWS_SSMCONTACTS_API
TimeRange
();
35
AWS_SSMCONTACTS_API
TimeRange
(
Aws::Utils::Json::JsonView
jsonValue);
36
AWS_SSMCONTACTS_API
TimeRange
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
37
AWS_SSMCONTACTS_API
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
38
39
41
44
inline
const
Aws::Utils::DateTime
&
GetStartTime
()
const
{
return
m_startTime; }
45
inline
bool
StartTimeHasBeenSet
()
const
{
return
m_startTimeHasBeenSet; }
46
inline
void
SetStartTime
(
const
Aws::Utils::DateTime
& value) { m_startTimeHasBeenSet =
true
; m_startTime = value; }
47
inline
void
SetStartTime
(
Aws::Utils::DateTime
&& value) { m_startTimeHasBeenSet =
true
; m_startTime = std::move(value); }
48
inline
TimeRange
&
WithStartTime
(
const
Aws::Utils::DateTime
& value) {
SetStartTime
(value);
return
*
this
;}
49
inline
TimeRange
&
WithStartTime
(
Aws::Utils::DateTime
&& value) {
SetStartTime
(std::move(value));
return
*
this
;}
51
53
56
inline
const
Aws::Utils::DateTime
&
GetEndTime
()
const
{
return
m_endTime; }
57
inline
bool
EndTimeHasBeenSet
()
const
{
return
m_endTimeHasBeenSet; }
58
inline
void
SetEndTime
(
const
Aws::Utils::DateTime
& value) { m_endTimeHasBeenSet =
true
; m_endTime = value; }
59
inline
void
SetEndTime
(
Aws::Utils::DateTime
&& value) { m_endTimeHasBeenSet =
true
; m_endTime = std::move(value); }
60
inline
TimeRange
&
WithEndTime
(
const
Aws::Utils::DateTime
& value) {
SetEndTime
(value);
return
*
this
;}
61
inline
TimeRange
&
WithEndTime
(
Aws::Utils::DateTime
&& value) {
SetEndTime
(std::move(value));
return
*
this
;}
63
private
:
64
65
Aws::Utils::DateTime
m_startTime;
66
bool
m_startTimeHasBeenSet =
false
;
67
68
Aws::Utils::DateTime
m_endTime;
69
bool
m_endTimeHasBeenSet =
false
;
70
};
71
72
}
// namespace Model
73
}
// namespace SSMContacts
74
}
// namespace Aws
Aws::SSMContacts::Model::TimeRange
Definition
TimeRange.h:32
Aws::SSMContacts::Model::TimeRange::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition
TimeRange.h:58
Aws::SSMContacts::Model::TimeRange::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition
TimeRange.h:45
Aws::SSMContacts::Model::TimeRange::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition
TimeRange.h:56
Aws::SSMContacts::Model::TimeRange::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition
TimeRange.h:59
Aws::SSMContacts::Model::TimeRange::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition
TimeRange.h:57
Aws::SSMContacts::Model::TimeRange::TimeRange
AWS_SSMCONTACTS_API TimeRange()
Aws::SSMContacts::Model::TimeRange::WithEndTime
TimeRange & WithEndTime(Aws::Utils::DateTime &&value)
Definition
TimeRange.h:61
Aws::SSMContacts::Model::TimeRange::WithStartTime
TimeRange & WithStartTime(const Aws::Utils::DateTime &value)
Definition
TimeRange.h:48
Aws::SSMContacts::Model::TimeRange::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition
TimeRange.h:47
Aws::SSMContacts::Model::TimeRange::WithEndTime
TimeRange & WithEndTime(const Aws::Utils::DateTime &value)
Definition
TimeRange.h:60
Aws::SSMContacts::Model::TimeRange::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition
TimeRange.h:44
Aws::SSMContacts::Model::TimeRange::Jsonize
AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::SSMContacts::Model::TimeRange::operator=
AWS_SSMCONTACTS_API TimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SSMContacts::Model::TimeRange::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition
TimeRange.h:46
Aws::SSMContacts::Model::TimeRange::TimeRange
AWS_SSMCONTACTS_API TimeRange(Aws::Utils::Json::JsonView jsonValue)
Aws::SSMContacts::Model::TimeRange::WithStartTime
TimeRange & WithStartTime(Aws::Utils::DateTime &&value)
Definition
TimeRange.h:49
Aws::Utils::DateTime
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws
smithy::client::JsonValue
Aws::Utils::Json::JsonValue JsonValue
Generated by
1.9.8
Privacy |
Site terms |
Cookie preferences